https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123007
Bug ID: 123007
Summary: mod-int-1.a68 causes an ICE on arm-linux-gnueabihf
Product: gcc
Version: 16.0
URL: https://linaro.atlassian.net/browse/GNU-1771
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: algol68
Assignee: algol68 at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
Target: arm
Linaro CI noticed an ICE:
FAIL: algol68/execute/mod-int-1.a68, -O0 (internal compiler error:
Segmentation fault)
The log says:
during RTL pass: expand
/home/tcwg-buildslave/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/gcc/testsuite/algol68/execute/mod-int-1.a68:
In function '__algol68_main':
/home/tcwg-buildslave/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/gcc/testsuite/algol68/execute/mod-int-1.a68:6:7:
internal compiler error: Segmentation fault
0x1455439 internal_error(char const*, ...)
../../../../../../gcc/gcc/diagnostic-global-context.cc:787
0x7dd55f crash_signal
../../../../../../gcc/gcc/toplev.cc:325
0xf6fc7e3f ???
../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
0x4956c1 aggregate_value_p(tree_node const*, tree_node const*)
../../../../../../gcc/gcc/function.cc:2054
0x3291f1 emit_library_call_value_1(int, rtx_def*, rtx_def*, libcall_type,
machine_mode, int, std::pair<rtx_def*, machine_mode>*)
../../../../../../gcc/gcc/calls.cc:4256
0x6bb64b emit_library_call_value(rtx_def*, rtx_def*, libcall_type,
machine_mode, rtx_def*, machine_mode, rtx_def*, machine_mode)
../../../../../../gcc/gcc/rtl.h:4490
0x6bb64b expand_twoval_binop_libfunc(optab_tag, rtx_def*, rtx_def*, rtx_def*,
rtx_def*, rtx_code)
../../../../../../gcc/gcc/optabs.cc:2562
0x41f9b5 expand_divmod(int, tree_code, machine_mode, rtx_def*, rtx_def*,
rtx_def*, int, optab_methods)
../../../../../../gcc/gcc/expmed.cc:5354
0x428af7 expand_expr_real_2(separate_ops const*, rtx_def*, machine_mode,
expand_modifier)
../../../../../../gcc/gcc/expr.cc:10538
0x4325ad expand_expr_real_gassign(gassign*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../../../../../gcc/gcc/expr.cc:11335
0x33c9c5 expand_gimple_stmt_1
../../../../../../gcc/gcc/cfgexpand.cc:4318
0x33c9c5 expand_gimple_stmt
../../../../../../gcc/gcc/cfgexpand.cc:4382
0x342609 expand_gimple_basic_block
../../../../../../gcc/gcc/cfgexpand.cc:6501
0x343cd3 execute
../../../../../../gcc/gcc/cfgexpand.cc:7248