[Bug c/37303] const compound initializers in structs are written to .data instead of .rodata

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 17:27:00 GMT 2008



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-10-01 17:25 -------
>From C99 6.5.2.5/8:

"String literals, and compound literals with const-qualified types, need not
designate distinct objects"


-- 


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



More information about the Gcc-bugs mailing list