This testcase ICEs with -O2 -msse2 -ftree-vectorize: void test_1 (void) { static unsigned int bm[16]; int j; for (j = 0; j < 16; j++) bm[j] = bm[j] * 8; }
prxxx.c: In function 'test_1': prxxx.c:8: internal compiler error: in immed_double_const, at emit-rtl.c:468 [BTW: This bug was found when dealing with PR target/22480. As a nice enhancement, this code should actually be transformed into vector left shift by 3.] -- Summary: ICE in immed_double_const with vectorized multipication Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, ssemmx Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uros at kss-loka dot si CC: gcc-bugs at gcc dot gnu dot org 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=23831