I'm getting the following ICE with -O2 -ftree-vectorize and gcc 4.3 20070604. PR30958 mentions a similar ICE but the testcase looks quite different.
(sid)25289:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 -ftree-vectorize fceu-sound.c fceu-sound.c: In function 'SetSoundVariables': fceu-sound.c:3: error: invalid reference prefix {D.2092_66, D.2095_69} fceu-sound.c:3: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if appropriate. Testcase: the problem is that wlookup2 is int whereas the assigned value is double. It works if you remove the cast to double. unsigned int wlookup2[203]; SetSoundVariables (int x) { for (x = 1; x < 32; x++) { wlookup2[x] = (double) 16 / x; } } -- Summary: [4.3 Regression] ICE: verify_stmts failed (invalid reference prefix) with -ftree-vectorize Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32216