------- Comment #2 from Andrey dot Martchovsky at gmail dot com  2009-05-11 
01:26 -------
(In reply to comment #1)
> Actually this code is undefined.  Using %s with a NULL pointer is undefined so
> GCC's behavior is correct.
> 

You are wrong, the GCC behavior is incorrect.
Please compile code and run before replying.


Lines 4 & 6 behave identically
Lines 5 & 7 do not

that


-- 

Andrey dot Martchovsky at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to