]> gcc.gnu.org Git - gcc.git/commit
re PR libstdc++/53477 (pretty printer fails with: Python Exception <type 'exceptions...
authorPhil Muldoon <pmuldoon@redhat.com>
Tue, 20 Aug 2013 19:20:42 +0000 (19:20 +0000)
committerPhil Muldoon <pmuldoon@gcc.gnu.org>
Tue, 20 Aug 2013 19:20:42 +0000 (19:20 +0000)
commitc77efe8f42094ab4e01ada412630578274d47d20
treef6b42c11b37cb8cbf0f35b501f8c86d4126cc508
parent6cd4d135d77f9a649bf83b94915130981d60de95
re PR libstdc++/53477 (pretty printer fails with: Python Exception <type 'exceptions.IndexError'> list index out of range)

2013-08-20  Phil Muldoon  <pmuldoon@redhat.com>

PR libstdc++/53477
http://sourceware.org/bugzilla/show_bug.cgi?id=15195

* python/libstdcxx/v6/printers.py (Printer.__call__): If a value
is a reference, fetch referenced value.
(RxPrinter.invoke): Ditto.
* testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
flag. Add referenced value tests.

From-SVN: r201888
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc
This page took 0.05521 seconds and 5 git commands to generate.