https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-12-21 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, the constraint on f does not even need to be depdent to the incorrect behavior from GCC: int sc(); int mc(); template<int> struct s { void f() const {mc();} static void f() requires true {sc();} }; void g() { s<0>().f(); }