[Bug c++/41534] New: C++ FE gives names to anonymous things

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 1 11:41:00 GMT 2009


The C++ FE insists on giving TYPE_NAMEs to things like anonymous unions.  This
confuses type compatibility checks in LTO which now needs to workaround this
duplicating the ANON_AGGRNAME_FORMAT logic from cp/cp-tree.h

Maybe the C++ FE should free those names in the free_lang_data langhook.

What does it need the names for?  Mangling?


-- 
           Summary: C++ FE gives names to anonymous things
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41534



More information about the Gcc-bugs mailing list