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

Reply via email to