This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2007 19:12:55 -0000
- Subject: [Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section
- References: <bug-33871-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from hjl at lucon dot org 2007-10-30 19:12 -------
The problem is "typeinfo for (anonymous namespace)::t" in .rodata section
references "typeinfo name for (anonymous namespace)::t" in a comdat section.
When the comdat section is discarded, we got a problem. Can we put
"typeinfo for (anonymous namespace)::t" in the same comdat group as
"typeinfo name for (anonymous namespace)::t"?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871