https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.1.0, 10.5.0 Keywords|ice-on-invalid-code |ice-on-valid-code, | |needs-bisection Last reconfirmed| |2024-08-10 Summary|ICE: Segmentation fault |[12/13/14/15 Regression] |(perform_or_defer_access_ch |ICE: Segmentation fault |eck) |(perform_or_defer_access_ch | |eck) Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Target Milestone|--- |12.5 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. This code can be made valid and we still ICE: ``` struct b{ void State(); }; template<class Type> struct c : b { void A(); static c *d; }; template<class Type> c<Type>* c<Type>::d; template<class Type> void c<Type>::A(){ d->b::State(); } void f() { c<int>::d->A(); } ```