https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115364
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.5 Summary|ICE-on-invalid when calling |[11/12/13/14/15 Regression] |non-const template member |ICE-on-invalid when calling |on const object |non-const template member | |on const object Last reconfirmed| |2024-06-05 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |diagnostic, error-recovery, | |ice-checking --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Probably because it's just a tree check; from what I've heard, they Yes it does not show up with release checking set so most folks won't see the ICE in this case and it is only trying to find the location of the argument which in this case it is this which does not really have a location. Anyways confirmed, 99% sure it was introduced by r8-3378-g9003adc732305c .