https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95255
Bug ID: 95255
Summary: [10/11 Regression] ICE in gen_roundevendf2, at
config/i386/i386.md:16328 since
r10-2809-gd3b92f35d84f44a8
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: uros at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
I see the following ICE:
$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c
-mfpmath=both
during RTL pass: expand
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c:
In function ‘f1’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c:7:10:
internal compiler error: in gen_roundevendf2, at config/i386/i386.md:17137
7 | return __builtin_roundeven (x);
| ^~~~~~~~~~~~~~~~~~~~~~~
0x816eab gen_roundevendf2(rtx_def*, rtx_def*)
/home/marxin/Programming/gcc/gcc/config/i386/i386.md:17137
0xd2b148 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
/home/marxin/Programming/gcc/gcc/optabs.c:7479
0xd2b148 expand_insn(insn_code, unsigned int, expand_operand*)
/home/marxin/Programming/gcc/gcc/optabs.c:7510
0xbdd6c4 expand_direct_optab_fn
/home/marxin/Programming/gcc/gcc/internal-fn.c:2959
0x9a60ee expand_call_stmt
/home/marxin/Programming/gcc/gcc/cfgexpand.c:2627
0x9a60ee expand_gimple_stmt_1
/home/marxin/Programming/gcc/gcc/cfgexpand.c:3682
0x9a60ee expand_gimple_stmt
/home/marxin/Programming/gcc/gcc/cfgexpand.c:3847
0x9abac1 expand_gimple_basic_block
/home/marxin/Programming/gcc/gcc/cfgexpand.c:5887
0x9ad6b7 execute
/home/marxin/Programming/gcc/gcc/cfgexpand.c:6571
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.