[Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 30 19:36:00 GMT 2007
------- Comment #24 from hjl at lucon dot org 2007-10-30 19:36 -------
(In reply to comment #23)
> Subject: Re: [4.3 Regression] typeinfo name referenced in ... defined in
> discarded section
>
> On 30/10/2007, at 12:12 PM, hjl at lucon dot org wrote:
>
> > 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.
>
> Why is the comdat section being discarded when something is
> referencing it?
>
It is due to "S1.C S1.C". Only one comdat group in S1.C is kept.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871
More information about the Gcc-bugs
mailing list