This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/71296] missing warning on strcat appending to a non-string
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 May 2016 21:10:56 +0000
- Subject: [Bug middle-end/71296] missing warning on strcat appending to a non-string
- Auto-submitted: auto-generated
- References: <bug-71296-4 at http dot gcc dot gnu dot org/bugzilla/>
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