[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 21 20:22:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #21 from Martin Sebor <msebor at gcc dot gnu.org> ---
I agree that the compiler shouldn't crash on directives it doesn't expect.

The feature is implemented at this point so let's open new bugs for problems in
the implementation (with the expected information such as a test case) rather
than reopening the enhancement request.


More information about the Gcc-bugs mailing list