https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89186
Bug ID: 89186
Summary: [9 Regression] ICE in mark_addressable at
gcc/gimple-expr.c:894 since r268138
Product: gcc
Version: 9.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: jakub at gcc dot gnu.org
Target Milestone: ---
I see following ICE:
$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/vector27.C -mno-sse
-fnon-call-exceptions -c
during RTL pass: expand
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/vector27.C: In function
‘void g(vecf*, vecf*)’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/vector27.C:12:16:
internal compiler error: Segmentation fault
12 | *a = (*a < 1 && !(*b > 2)) ? *a + *b : 3;
| ~~~~~~~~^~~~~~~~~~~~~
0xf2e02f crash_signal
/home/marxin/Programming/gcc/gcc/toplev.c:326
0x7ffff6d8910f ???
/usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xc8f749 handled_component_p
/home/marxin/Programming/gcc/gcc/tree.h:4698
0xc8f749 mark_addressable(tree_node*)
/home/marxin/Programming/gcc/gcc/gimple-expr.c:894
0xc169e5 emit_block_op_via_libcall(built_in_function, rtx_def*, rtx_def*,
rtx_def*, bool)
/home/marxin/Programming/gcc/gcc/expr.c:1884
0xe31572 emit_block_comp_via_libcall
/home/marxin/Programming/gcc/gcc/expr.h:93
0xe31572 prepare_cmp_insn
/home/marxin/Programming/gcc/gcc/optabs.c:3920
0xe31e5e emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, profile_probability)
/home/marxin/Programming/gcc/gcc/optabs.c:4146
0xb755ef do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability)
/home/marxin/Programming/gcc/gcc/dojump.c:1171
0xb7708c do_compare_and_jump
/home/marxin/Programming/gcc/gcc/dojump.c:1245
0xb78658 do_jump_1
/home/marxin/Programming/gcc/gcc/dojump.c:231
0xc2361e expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
/home/marxin/Programming/gcc/gcc/expr.c:9389
0xafe71f expand_gimple_stmt_1
/home/marxin/Programming/gcc/gcc/cfgexpand.c:3789
0xafe71f expand_gimple_stmt
/home/marxin/Programming/gcc/gcc/cfgexpand.c:3850
0xb003ef expand_gimple_basic_block
/home/marxin/Programming/gcc/gcc/cfgexpand.c:5886
0xb05187 execute
/home/marxin/Programming/gcc/gcc/cfgexpand.c:6509