[Bug middle-end/71296] missing warning on strcat appending to a non-string

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 26 23:25:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |71303

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
I suspect the problem in the aggregate initialization case is due to bug 71303.
 With it fixed, this bug should be reduced to the missing warning appending to
an uninitialized array.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71303
[Bug 71303] missing strlen optimization for strings initialized via a
braced-init-list


More information about the Gcc-bugs mailing list