https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358 Bug 106358 depends on bug 106394, which changed state.
Bug 106394 Summary: False positive from -Wanalyzer-allocation-size with empty array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106394 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED