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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71296
Martin Sebor changed:
What|Removed |Added
Depends on||71303
--- Comment #2 from Martin Sebor -
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