https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81843
Bug ID: 81843 Summary: ICE in gen_vec_cmpv2dfv2di, at config/aarch64/aarch64-simd.md:2561 Product: gcc Version: 8.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 Target Milestone: --- Host: x86_64-linux-gnu Target: aarch64-linux-gnu Using cross-compiler I see ICE on: aarch64-linux-gnu-gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/pr50310.c -fno-trapping-math -O3 during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/pr50310.c: In function ‘foo’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/pr50310.c:27:19: internal compiler error: in gen_vec_cmpv2dfv2di, at config/aarch64/aarch64-simd.md:2561 s3[8 * 4 + i] = __builtin_islessgreater (s1[i], s2[i]) ? -1.0 : 0.0; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x104495d gen_vec_cmpv2dfv2di(rtx_def*, rtx_def*, rtx_def*, rtx_def*) .././../gcc/config/aarch64/aarch64-simd.md:2561 0x104556d gen_vcondv2dfv2df(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) .././../gcc/config/aarch64/aarch64-simd.md:2671 0xa687b8 maybe_expand_insn(insn_code, unsigned int, expand_operand*) .././../gcc/optabs.c:7104 0xa687b8 expand_insn(insn_code, unsigned int, expand_operand*) .././../gcc/optabs.c:7135 0xa692b0 expand_vec_cond_expr(tree_node*, tree_node*, tree_node*, tree_node*, rtx_def*) .././../gcc/optabs.c:5682 0x82db17 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) .././../gcc/expr.c:9559 0x81b93f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) .././../gcc/expr.c:9795 0x828b34 expand_expr .././../gcc/expr.h:276 0x828b34 expand_assignment(tree_node*, tree_node*, bool) .././../gcc/expr.c:4955 0x710c08 expand_gimple_stmt_1 .././../gcc/cfgexpand.c:3653 0x710c08 expand_gimple_stmt .././../gcc/cfgexpand.c:3751 0x712ca7 expand_gimple_basic_block .././../gcc/cfgexpand.c:5753 0x718e5e execute .././../gcc/cfgexpand.c:6360