https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 118249, which changed state.
Bug 118249 Summary: Misdiagnosing use of 'this' while doing class member access in constant evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED