https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Failure to resolve call to |[12/13 Regregression] |template member function in |lookup after this-> seems |template base class. |wrong for dependent lookup Keywords| |rejects-valid --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- And yes there is a defect report in namelookup after this-> . I know there is a resolution of it but I don't remember which way it went either. Marking as a regression as GCC 11 and before accepted the code but it might be invalid ...