* the exact version of GCC; gcc version 3.4.0 * the system type; The host/build/target system is i686-pc-linux-gnu, * the options given when GCC was configured/built; Configured with: /home/niva/src/gcc-3.4-binutils/configure --with-gnu-as --with-gnu-ld --enable-generated-files-in-srcdir --disable-checking --enable-languages=c --srcdir=/home/niva/src/gcc-3.4-binutils --prefix=/home/niva/local-osina --enable-cpp --enable-shared * the complete command line that triggers the bug; /home/niva/local-osina/bin/gcc -O3 -c ttt.c -mtune=i486 /home/niva/local-osina/bin/gcc -O3 -c ttt.c -mtune=i386 Note: we have initially detected the bug in gcc-3.4.0 targeted for i386-*-elf * the compiler output (error messages, warnings, etc.); and ttt.c: In function `modlookup': ttt.c:30: internal compiler error: in get_loop_body, at cfgloop.c:988 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. * the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command, or, in the case of a bug report for the GNAT front end, a complete set of source files (see below). int bytestart[5000 + 1]; unsigned char modtext[400 + 1]; unsigned char bytemem[2][45000L + 1]; long modlookup (int l) { signed char c; long j; long k; signed char w; long p; while (p != 0) { while ((k < bytestart[p + 2]) && (j <= l) && (modtext[j] == bytemem[w][k])) { k = k + 1; j = j + 1; } if (k == bytestart[p + 2]) c = 1; else if (j > l) c = 3; else if (modtext[j] < bytemem[w][k]) c = 0; else c = 2; } }
*** This bug has been marked as a duplicate of 13985 ***