[Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 5 03:01:00 GMT 2007
------- Comment #37 from hjl at lucon dot org 2007-11-05 03:01 -------
(In reply to comment #35)
>
>
> - What if the global variable references two or more strings?
All local strings referenced by the global variable should be
in the same comdat group.
> - Won't this cause the global variable to be discarded if anyone
> defines a different global variable which also references the same
> string?
The comdat group should have both global variables defined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871
More information about the Gcc-bugs
mailing list