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

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu May 18 09:23:43 2017
New Revision: 248183

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

Backport from mainline
2016-12-15  Jonathan Wakely  <jwak...@redhat.com>

        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:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/python/libstdcxx/v6/printers.py
   
branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc

Reply via email to