gcc bug
Alexandre Oliva
aoliva@cygnus.com
Tue May 2 19:43:00 GMT 2000
On May 2, 2000, Randolph Wilhoit <wilhoit@trcdec.tamu.edu> wrote:
> I am not sure if this behavior would be called a "bug"
It is not a bug, you're just invoking undefined behavior. GCC stores
literal strings in read-only sections unless you compile with
-fwritable-strings.
--
Alexandre Oliva Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me
More information about the Gcc-bugs
mailing list