void fdct_int32() { int tmp4, tmp5, tmp7; int z1, z2, z3, z4, z5; int *dataptr; int i;
for (i = 0; i < 8; i++) { tmp7 = dataptr[0]; z3 = tmp4; z4 = tmp5 + tmp7; z5 = (z3 + z4) * ((int) 9633); z3 += z5; dataptr[56] = tmp4 + z1 + z3; dataptr[40] = tmp5 + z2 + z4; dataptr++; } } When compiling the above file with the following command line arguments: gcc -c -O -march=pentium4 -ftree-vectorize foo.c I get the following error: foo.c: In function 'fdct_int32': foo.c:22: internal compiler error: in push_reload, at reload.c:1303 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. I discovered this while trying to compile the xvid sources using silly CFLAGS by accident. The above file is a somewhat reduced testcase. -- Summary: internal compiler error: in push_reload, at reload.c:1303 Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ma1flfs at bath dot ac dot uk GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26600