https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108104
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Summary|ICE in unify, at |ICE in unify, at |cp/pt.c:24333 with template |cp/pt.c:24333 with template |partial specialization |partial specialization and | |pointer to memeber function | |and nullptr --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: ``` struct ss { void h(); }; template <int, void (ss::*m)()> struct Fred {}; template <int state> struct Fred<state, nullptr> {}; Fred<1, &ss::h> f1; ```