https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68296
Bug ID: 68296 Summary: [6 regression] ICE in prepare_cmp_insn, at optabs.c:3813 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org CC: ienkovich at gcc dot gnu.org Target Milestone: --- Target: aarch64-*-*, ia64-*-* Started with r230098. For example on aarch64: FAIL: gcc.c-torture/compile/pr53410-2.c -O0 (internal compiler error) FAIL: gcc.c-torture/compile/pr53410-2.c -O0 (test for excess errors) Excess errors: /opt/gcc/gcc-20151111/gcc/testsuite/gcc.c-torture/compile/pr53410-2.c:27:18: internal compiler error: in prepare_cmp_insn, at optabs.c:3813 0xa10aeb prepare_cmp_insn ../../gcc/optabs.c:3813 0xa10b7f emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*, machine_mode, int, rtx_def*, int) ../../gcc/optabs.c:3960 0x780d17 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int, machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, int) ../../gcc/dojump.c:1140 0x781cc7 do_compare_and_jump ../../gcc/dojump.c:1219 0x820f33 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../gcc/expr.c:9076 0x70fd87 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3612 0x70fd87 expand_gimple_stmt ../../gcc/cfgexpand.c:3673 0x7139bb expand_gimple_basic_block ../../gcc/cfgexpand.c:5679 0x719077 execute ../../gcc/cfgexpand.c:6291