[Bug rtl-optimization/81422] New: [aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425
ibuclaw at gdcproject dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 12 21:48:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81422
Bug ID: 81422
Summary: [aarch64] internal compiler error: in
update_equiv_regs, at ira.c:3425
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ibuclaw at gdcproject dot org
Target Milestone: ---
Reduced test:
---
struct DArray
{
__SIZE_TYPE__ length;
int* ptr;
};
void foo35(DArray)
{
static __thread int x[5];
foo35({5, (int*)&x});
}
---
during RTL pass: ira
test.cc: In function ‘void foo35(DArray)’:
test.cc:11:1: internal compiler error: in update_equiv_regs, at ira.c:3425
0xbe1223 update_equiv_regs
/build/aarch64-linux-gnu/build/gcc/ira.c:3425
0xbe6bf0 ira
/build/aarch64-linux-gnu/build/gcc/ira.c:5226
0xbe6bf0 execute
/build/aarch64-linux-gnu/build/gcc/ira.c:5581
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
---
Reading specs from /build/aarch64-linux-gnu/build/build/gcc/specs
COLLECT_GCC=/build/aarch64-linux-gnu/build/build/gcc/xg++
COLLECT_LTO_WRAPPER=/build/aarch64-linux-gnu/build/build/gcc/lto-wrapper
Target: aarch64-linux-gnu
Configured with: /build/aarch64-linux-gnu/build/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --with-sysroot=/
--enable-languages=c++,lto --enable-checking --enable-link-mutex
--disable-bootstrap --disable-werror --disable-libgomp --disable-libmudflap
--disable-libquadmath --disable-libitm --disable-libsanitizer
--disable-multilib --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=aarch64-linux-gnu
--with-native-system-header-dir=/usr/aarch64-linux-gnu/include
Thread model: posix
gcc version 8.0.0 20170625 (experimental) (GCC)
---
I have checked an arm64 cross compiler for gcc 5.4.0, and can reproduce the
same ICE (https://godbolt.org/g/YRXfyY), it could go back even further.
Also tested on against other targets - alpha, arm, hppa, mips, m68k, ppc,
ppcspe, sparc, sh, s390 - can not reproduce the ICE on any of them. It only
seems to be arm64 that's affected.
More information about the Gcc-bugs
mailing list