http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48031
Summary: [4,4, 4.5 regression] gcc.c-torture/compile/pr42956.c ICEs gcc on m68k-linux, ivopts related? Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: mi...@it.uu.se The pr42956.c test case ICEs gcc 4.5 and 4.4 on m68k-linux: > gcc/xgcc -Bgcc -O1 -S /.../gcc/testsuite/gcc.c-torture/compile/pr42956.c /.../gcc/testsuite/gcc.c-torture/compile/pr42956.c: In function 'Split': /.../gcc/testsuite/gcc.c-torture/compile/pr42956.c:10:6: error: expected an SSA_NAME object /.../gcc/testsuite/gcc.c-torture/compile/pr42956.c:10:6: error: in statement D.2041_132 = D.1987 /[ex] 2; /.../gcc/testsuite/gcc.c-torture/compile/pr42956.c:10:6: internal compiler error: verify_ssa failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. This is with a cross to m68k-linux and --enable-checking=yes, with --enable-checking=release the compiler segfaults instead. Compiling with -O1 -fno-ivopts or -O0 eliminates the ICE. This bug occurs with gcc-4.4.5 and gcc-4.5.2. It does not occur with gcc-4.3.5. For gcc-4.6 it stopped occurring after the big MEM_REF update in r161655.