http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53477
Phil Muldoon <pmuldoon at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmuldoon at redhat dot com --- Comment #12 from Phil Muldoon <pmuldoon at redhat dot com> --- I checked in a patch to fix this yesterday. Not sure why the bug did not auto-update. Here is the link to the patch: http://gcc.gnu.org/ml/gcc-cvs/2013-08/msg00497.html Author: pmuldoon Date: Tue Aug 20 19:20:42 2013 New Revision: 201888 URL: http://gcc.gnu.org/viewcvs?rev=201888&root=gcc&view=rev Log: 2013-08-20 Phil Muldoon <pmuld...@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. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/python/libstdcxx/v6/printers.py trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc