Discussion:
[PATCH] PR libstdc++/65229 fix pretty printer for std::bitset<0>
Jonathan Wakely
2018-11-23 16:11:52 UTC
Permalink
Martin provided this fix years ago in the PR, but I've overlooked it
until now.

2018-11-23 Martin Sebor <***@redhat.com>
Jonathan Wakely <***@redhat.com>

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.
François Dumont
2018-11-24 20:48:15 UTC
Permalink
Maybe you can also consider mine to fix _GLIBCXX_DEBUG pretty printer
failures:

https://gcc.gnu.org/ml/libstdc++/2018-10/msg00003.html
Post by Jonathan Wakely
Martin provided this fix years ago in the PR, but I've overlooked it
until now.
    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.
Loading...