This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41534] New: C++ FE gives names to anonymous things
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2009 11:41:02 -0000
- Subject: [Bug c++/41534] New: C++ FE gives names to anonymous things
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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