This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 20 Jun 2017 19:08:58 -0400
- Subject: [binutils-gdb] cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT b1a42fdfa31937d7e05df34afee970ac0ad239e1 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b1a42fdfa31937d7e05df34afee970ac0ad239e1
cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE
This patch almost a decade ago:
...
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
* cp-demangle.c (d_dump): Handle
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
(d_make_comp): Ditto.
...
... missed doing the same change to cplus_demangle_fill_component that
was done to d_make_comp. I.e., teach it to only validate that we're
not passing in a "right" subtree. GDB has recently (finally) learned
about rvalue references, and a change to make it use
cplus_demangle_fill_component more ran into an assertion because of
this.
(GDB is the only user of cplus_demangle_fill_component in both the gcc
and binutils-gdb trees.)
libiberty/ChangeLog:
2017-03-27 Pedro Alves <palves@redhat.com>
* cp-demint.c (cplus_demangle_fill_component): Handle
DEMANGLE_COMPONENT_RVALUE_REFERENCE.