https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123495
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |17.0
Summary|[14/15/16/17 Regression] |[14/15/16 Regression] ICE:
|ICE: unexpected expression |unexpected expression ‘(int
|‘(int (*)())(0)’ of kind |(*)())(0)’ of kind
|cast_expr in |cast_expr in
|cxx_eval_constant_expressio |cxx_eval_constant_expressio
|n within template during |n within template during
|nodiscard check since |nodiscard check since
|r14-4793 |r14-4793
--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed on trunk so far.