Re: [PATCH] PR libstdc++/65229 fix pretty printer for std::bitset<0>

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] PR libstdc++/65229 fix pretty printer for std::bitset<0>

François Dumont-2
Maybe you can also consider mine to fix _GLIBCXX_DEBUG pretty printer
failures:

https://gcc.gnu.org/ml/libstdc++/2018-10/msg00003.html



On 11/23/18 5:11 PM, Jonathan Wakely wrote:

> Martin provided this fix years ago in the PR, but I've overlooked it
> until now.
>
> 2018-11-23  Martin Sebor  <[hidden email]>
>         Jonathan Wakely  <[hidden email]>
>
>     PR libstdc++/65229
>     * python/libstdcxx/v6/printers.py (StdBitsetPrinter): Handle
>     exception thrown for std::bitset<0>.
>     * testsuite/libstdc++-prettyprinters/simple.cc: Test std::bitset<0>.
>
> Tested powerpc64le-linux, committed to trunk.
>
>