[Bug c++/108104] ICE in unify, at cp/pt.c:24333 with template partial specialization and pointer to memeber function and nullptr
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 14 18:45:07 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108104
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Known to fail| |5.1.0
Last reconfirmed| |2022-12-14
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Before GCC 5, we produced:
<source>:5:48: internal compiler error: unexpected expression '(void
(ss::*)())(nullptr)' of kind cast_expr
template <int state> struct Fred<state, nullptr> {};
^
More information about the Gcc-bugs
mailing list