https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 101600, which changed state.
Bug 101600 Summary: [12 Regression] Spurious -Warray-bounds downcasting a polymorphic pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED