mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 00:51:00 +08:00
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:
parent
a4670f58eb
commit
96ccb32543
@ -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 ();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user