diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-08-10 18:44:06 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-08-10 18:47:06 +0100 |
commit | ed11f7e84bcae89f486f5023e566726a7faa7dd4 (patch) | |
tree | c1a9fcb986e61da0284500f5456900d7a7894883 /gcc/go/go-lang.c | |
parent | a5da50ed65a835dc1ed6179e3f2b6164fd6e4969 (diff) | |
download | gcc-ed11f7e84bcae89f486f5023e566726a7faa7dd4.zip gcc-ed11f7e84bcae89f486f5023e566726a7faa7dd4.tar.gz gcc-ed11f7e84bcae89f486f5023e566726a7faa7dd4.tar.bz2 |
libstdc++: Fix compatibility support in unique_ptr pretty printer
The support for the old std::unique_ptr implementation was failing,
because it tried to work on a typedef instead of the underlying type.
The test supposed to verify the support worked wasn't using a typedef,
so didn't notice the problem.
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py (UniquePointerPrinter.__init__):
Use gdb.Type.strip_typedefs().
* testsuite/libstdc++-prettyprinters/compat.cc: Use a typedef in
the emulated old type.
Diffstat (limited to 'gcc/go/go-lang.c')
0 files changed, 0 insertions, 0 deletions