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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
10711         if (DECL_P (decl) && DECL_NAMESPACE_SCOPE_P (decl))
10712           SET_DECL_ASSEMBLER_NAME (decl, get_identifier ("<decomp>"));
I guess we want to do this whenever is_global_var (decl) instead of just
DECL_NAMESPACE_SCOPE_P, so that we don't try to mangle stuff during error
recovery at all.

Reply via email to