[Bug rtl-optimization/25609] too agressive printf optimization
pinskia at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 16 22:11:00 GMT 2007
------- Comment #15 from pinskia at gmail dot com 2007-11-16 22:11 -------
Subject: Re: too agressive printf optimization
> Is there any difference in the standard behaviour between printf("%s", NULL)
> and puts(NULL)? I mean, why printf("%s", NULL) receives special consideration
> but neither puts(NULL) nor fprintf(stdout, "%s", NULL) do?
No both are undefined.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609
More information about the Gcc-bugs
mailing list