[Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 3 14:21:00 GMT 2007



------- Comment #29 from hjl at lucon dot org  2007-11-03 14:21 -------
(In reply to comment #27)
>
> In this case, though, the contents of the linkonce section will never  
> actually differ; and I believe in this case the offset is zero, so  
> even if they did differ it would not matter.  Perhaps a zero offset  
> should be special-cased?
> 

Local symbols should only be referenced within the same comdat group
or the linkonce section. Otherwise, it is a compiler bug.


-- 


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



More information about the Gcc-bugs mailing list