https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82195
--- Comment #7 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Thu Sep 21 15:52:31 2017 New Revision: 253075 URL: https://gcc.gnu.org/viewcvs?rev=253075&root=gcc&view=rev Log: [demangler PATCH]: Revert and update generic lambda demangling https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01482.html PR demangler/82195 * cp-demangle.c (d_name): Revert addition of 'toplevel' parm. (has_return_type): Recurse for DEMANGLE_COMPONENT_LOCAL_NAME. (d_encoding): Revert d_name change. Use is_fnqual_component_type to strip modifiers that do not belong. (d_special_name, d_class_enum_type): Revert d_name call change. (d_expresion_1): Commonize DEMANGLE_COMPONENT_UNARY building. (d_local_name): Revert parsing of a function type. (d_print_comp_inner): An inner LOCAL_NAME might contain a TEMPLATE. * testsuite/demangle-expected: Add & adjust tests Modified: trunk/libiberty/ChangeLog trunk/libiberty/cp-demangle.c trunk/libiberty/testsuite/demangle-expected