https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 102151, which changed state.
Bug 102151 Summary: Spurious warning by -Warray-bounds when allocating with flexible array member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102151 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID