https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 89224, which changed state.
Bug 89224 Summary: [11/12/13/14/15 Regression] subscript of const vector has the wrong type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED