On 2020-11-02 3:12 p.m., Christophe Lyon wrote:

Hi,

This patch causes ICEs on arm (eg arm-none-linux-gnueabi)
     gcc.c-torture/compile/sync-3.c   -O1  (internal compiler error)
     gcc.c-torture/compile/sync-3.c   -O2  (internal compiler error)
     gcc.c-torture/compile/sync-3.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error)
     gcc.c-torture/compile/sync-3.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (internal compiler error)
     gcc.c-torture/compile/sync-3.c   -O3 -g  (internal compiler error)
     gcc.c-torture/compile/sync-3.c   -Os  (internal compiler error)

gcc.log says:
FAIL: gcc.c-torture/compile/sync-3.c   -O1  (internal compiler error)
PASS: gcc.c-torture/compile/sync-3.c   -O1   (test for warnings, line )
FAIL: gcc.c-torture/compile/sync-3.c   -O1  (test for excess errors)
Excess errors:
during RTL pass: ira
/gcc/testsuite/gcc.c-torture/compile/sync-3.c:85:1: internal compiler
error: Segmentation fault
0xcf8b1f crash_signal
         /gcc/toplev.c:330
0xaeb0a0 fix_reg_equiv_init
         /gcc/ira.c:2671
0xaf2113 find_moveable_pseudos
         /gcc/ira.c:4874
0xaf48e8 ira
         /gcc/ira.c:5533
0xaf48e8 execute
         /gcc/ira.c:5861


Thank you for sending this info.  I reproduced the crash with x86-64-arm cross-compiler although it is absent on native arm environment.  I will have a fix tomorrow.


FAIL: gcc.c-torture/compile/sync-3.c   -O2  (internal compiler error)
PASS: gcc.c-torture/compile/sync-3.c   -O2   (test for warnings, line )
FAIL: gcc.c-torture/compile/sync-3.c   -O2  (test for excess errors)
Excess errors:
during RTL pass: ira
/gcc/testsuite/gcc.c-torture/compile/sync-3.c:85:1: internal compiler
error: Segmentation fault
0xcf8b1f crash_signal
         /gcc/toplev.c:330
0xaeb0a9 safe_as_a<rtx_insn_list*, rtx_def>
         /gcc/is-a.h:210
0xaeb0a9 rtx_insn_list::next() const
         /gcc/rtl.h:1408
0xaeb0a9 fix_reg_equiv_init
         /gcc/ira.c:2683
0xaf2113 find_moveable_pseudos
         /gcc/ira.c:4874
0xaf48e8 ira
         /gcc/ira.c:5533
0xaf48e8 execute
         /gcc/ira.c:5861

Christophe


Reply via email to