[Bug rtl-optimization/25609] too agressive printf optimization

Andrew Pinski pinskia@gmail.com
Fri Nov 16 22:11:00 GMT 2007


> 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



More information about the Gcc-bugs mailing list