------- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-08 23:05 ------- printf ("%s\n", NULL); is undefined. So GCC is optimizing the printf in this case to puts which creates smaller and faster code.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37765