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

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Dec 15 14:13:36 2016
New Revision: 243692

URL: https://gcc.gnu.org/viewcvs?rev=243692&root=gcc&view=rev
Log:
PR59170 make pretty printers check for singular iterators

        PR libstdc++/59170
        * python/libstdcxx/v6/printers.py (StdListIteratorPrinter.to_string)
        (StdSlistIteratorPrinter.to_string, StdVectorIteratorPrinter.to_string)
        (StdRbtreeIteratorPrinter.to_string)
        (StdDequeIteratorPrinter.to_string): Add check for value-initialized
        iterators.
        * testsuite/libstdc++-prettyprinters/simple.cc: Test them.
        * testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/python/libstdcxx/v6/printers.py
    trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc
    trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc

Reply via email to