c++: Remove FLOAT_EXPR assert in tsubst.

This assert triggered when pr85013.C was compiled with -fchecking=2
which the usual testing doesn't exercise.  Let's remove it for now
and revisit in GCC 12.

gcc/cp/ChangeLog:

	* pt.c (tsubst_copy_and_build) <case FLOAT_EXPR>: Remove.
This commit is contained in:
Marek Polacek 2021-03-18 17:19:17 -04:00
parent a4670f58eb
commit 96ccb32543

View File

@ -19770,7 +19770,6 @@ tsubst_copy_and_build (tree t,
complain|decltype_flag));
case FIX_TRUNC_EXPR:
case FLOAT_EXPR:
/* convert_like should have created an IMPLICIT_CONV_EXPR. */
gcc_unreachable ();