https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101977 Bug 101977 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