https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 121221, which changed state.
Bug 121221 Summary: [13/14/15/16 Regression] Warning produced with -O3: array subscript 'int (**)(...)[0]' is partly outside array bounds of 'f(bool)::A [1]' [-Werror=array-bounds=] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121221 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE