------- 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

Reply via email to