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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
In #c3, 

4243       write_prefix (decl_mangling_context (arg));

doesn't emit anything because we hit this return in write_prefix:

1334   if (DECL_P (node))
1335     {
1336       /* If this is a function or parm decl, that means we've hit function
1337          scope, so this prefix must be for a local name.  In this
1338          case, we're under the <local-name> production, which encodes
1339          the enclosing function scope elsewhere.  So don't continue
1340          here.  */
1341       if (TREE_CODE (node) == FUNCTION_DECL
1342           || TREE_CODE (node) == PARM_DECL)
1343         return;

Reply via email to