[Bug c/30622] char *p; p = "str"; puts "str" into rodata

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 28 17:13:00 GMT 2007



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-28 17:13 -------
More to the point, at one time in the past, GCC had an option to turn
(constant) string literals into readwrite strings, that was removed in 4.0.0
(maybe even in 3.4.0).  Also the standard says they are constant string
literals and not just strings.


-- 


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



More information about the Gcc-bugs mailing list