[Bug c/40097] inconsistent printf handling

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 11 01:15:00 GMT 2009



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-05-11 01:15 -------
Actually this code is undefined.  Using %s with a NULL pointer is undefined so
GCC's behavior is correct.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40097



More information about the Gcc-bugs mailing list