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

2018-10-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71296 Bug 71296 depends on bug 71625, which changed state. Bug 71625 Summary: missing strlen optimization on different array initialization style https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 What|Removed |Added

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

2016-06-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71296 Bug 71296 depends on bug 71303, which changed state. Bug 71303 Summary: missing strlen optimization for strings initialized via a braced-init-list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71303 What|Removed

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

2016-05-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71296 Martin Sebor changed: What|Removed |Added Depends on||71303 --- Comment #2 from Martin Sebor -

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

2016-05-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71296 --- Comment #1 from Martin Sebor --- Another problem is with strcat appending to a buffer initialized using the array notation like below where it also assumes it's starting at the beginning of the buffer (and so only diagnoses writes in excess o