[Bug demangler/82195] Undemangleable lambda

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 12:24:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82195

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Sep 15 12:23:57 2017
New Revision: 252815

URL: https://gcc.gnu.org/viewcvs?rev=252815&root=gcc&view=rev
Log:
[demangler] Fix nested generic lambda

https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00994.html
        PR demangler/82195
        * cp-demangle.c (d_name): Add 'toplevel' parm.  Pass to ...
        (d_local_name): ... here.  Parse trailing function args on nested
        local_name.
        (d_encoding, d_special_name, d_class_enum_type): Adjust d_name calls.
        * testsuite/demangle-expected: Add tests.

Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c
    trunk/libiberty/testsuite/demangle-expected


More information about the Gcc-bugs mailing list