https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97048 Bug 97048 depends on bug 101917, which changed state.
Bug 101917 Summary: [11 Regression] Spurious -Wstringop-overread with -flto when passing zero sized arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101917 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED