r245481 - in /branches/gcc-6-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Feb 15 13:38:00 GMT 2017


Author: redi
Date: Wed Feb 15 13:38:48 2017
New Revision: 245481

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

Backport from mainline
2016-12-15  Jonathan Wakely  <jwakely@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-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/python/libstdcxx/v6/printers.py
    branches/gcc-6-branch/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc
    branches/gcc-6-branch/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc



More information about the Libstdc++-cvs mailing list