On Mon, 2 Nov 2020 at 23:01, Vladimir Makarov <vmaka...@redhat.com> wrote: > > > On 2020-11-02 4:30 p.m., Vladimir Makarov via Gcc-patches wrote: > > > > 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. > > > > > I've fixed it. > Thanks, I confirm I no longer see this error.
Christophe