[Bug libstdc++/65229] pretty-printer exception on std::bitset<0>

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 14:17:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65229

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Feb  8 14:16:09 2019
New Revision: 268693

URL: https://gcc.gnu.org/viewcvs?rev=268693&root=gcc&view=rev
Log:
PR libstdc++/65229 fix pretty printer for std::bitset<0>

Backport from mainline
2018-11-23  Martin Sebor  <msebor@redhat.com>
            Jonathan Wakely  <jwakely@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>.

Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/python/libstdcxx/v6/printers.py
   
branches/gcc-8-branch/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc


More information about the Gcc-bugs mailing list