[Bug rtl-optimization/110470] New: Test gcc.c-torture/execute/pr105613.c ICEs in prepare_cmp_insn on s390x with -march=z14
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 28 21:24:07 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110470
Bug ID: 110470
Summary: Test gcc.c-torture/execute/pr105613.c ICEs in
prepare_cmp_insn on s390x with -march=z14
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
Take gcc.c-torture/execute/pr105613.c:
$ ./cc1 -quiet pr105613.c -Iinclude -march=z13
$ ./cc1 -quiet pr105613.c -Iinclude -march=z14
during RTL pass: expand
pr105613.c: In function ‘foo’:
pr105613.c:9:10: internal compiler error: in prepare_cmp_insn, at
optabs.cc:4609
9 | *r = v != 0;
| ~~^~~~
0x6c59a6 prepare_cmp_insn
/home/mpolacek/src/gcc/gcc/optabs.cc:4609
0xd2055f emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, tree_node*, rtx_def*, profile_probability)
/home/mpolacek/src/gcc/gcc/optabs.cc:4824
0x9fbed9 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int, tree_node*,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability)
/home/mpolacek/src/gcc/gcc/dojump.cc:1238
0x9fd63a do_jump
/home/mpolacek/src/gcc/gcc/dojump.cc:620
0xaa22d7 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
/home/mpolacek/src/gcc/gcc/expr.cc:10274
0x988a40 expand_gimple_stmt_1
/home/mpolacek/src/gcc/gcc/cfgexpand.cc:3983
0x988a40 expand_gimple_stmt
/home/mpolacek/src/gcc/gcc/cfgexpand.cc:4044
0x98d9a6 expand_gimple_basic_block
/home/mpolacek/src/gcc/gcc/cfgexpand.cc:6096
0x98f447 execute
/home/mpolacek/src/gcc/gcc/cfgexpand.cc:6831
More information about the Gcc-bugs
mailing list