https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117462
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking, | |ice-on-valid-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- <source>: In instantiation of 'static void S1<<anonymous> >::fn() [with D4 <anonymous> = D4{Derived2::g}]': <source>:6:39: internal compiler error: canonical types differ for identical types 'void (Derived2::*)()' and 'void (Derived2::*)()' 6 | template <D4> struct S1 { static void fn() {} }; | ^~