[EMAIL PROTECTED] ~ $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1/configure --prefix=/home/halcyon/gcc-test/bin-4.1/ --enable-languages=c,c++ Thread model: posix gcc version 4.1.2 20060529 (prerelease)
gcc -c -ftree-vectorize -O1 -msse2 test.i test.i: In function âbinarizeâ: test.i:10: error: unrecognizable insn: (insn 80 79 81 13 (set (reg:V16QI 84) (us_minus:V16QI (mem:V16QI (plus:SI (reg:SI 62 [ D.1718 ]) (reg:SI 68 [ vect_p.39 ])) [0 S16 A128]) (reg:V16QI 82))) -1 (nil) (nil)) test.i:10: internal compiler error: in extract_insn, at recog.c:2084 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Reduced testcase: void binarize () { unsigned i, npixels; unsigned char *b; if (i == 1) { for (i = 0; i < npixels; i++) b[i] = (b[i] > 225 ? 0xff : 0); } } -- Summary: [4.1/4.2 Regression] Unrecognizable insn with -ftree- vectorize -O1 -msse2 Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: halcy0n at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27790