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