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

uecker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uecker at gcc dot gnu.org

--- Comment #1 from uecker at gcc dot gnu.org ---

Should it? 

Isnt't this a hack to get the same effect you now get more easily with
-Wunterminated-string-initialization? Then maybe the recommendation should be
to remove this and rely on the warning in the future.

I wonder also whether there are situation where you want to get the two null
bytes and the warning would still make sense (although
-Wtruncated-string-initialization would then make more sense as a name)

Reply via email to