[Bug demangler/82195] Undemangleable lambda

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 14 19:00:00 GMT 2017


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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |demangler

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
The problem is that in a local name 'Z fn E name [disc]', 'name' could be a
(nested) function and have encoded parms.  We do not expecting that and either
barf or attach them to the wrong level of the tree.  Attaching to the wrong
level works most of the time, except when the fn is an instantiation.  And of
course, generic lambdas are such a thing and didn't prevously exist.


More information about the Gcc-bugs mailing list