http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49518
Summary: ICE in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: reg...@cs.utah.edu CC: cheny...@cs.utah.edu Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu Build: x86_64-unknown-linux-gnu [regehr@gamow tmp032]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r175350-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r175350-install --program-prefix=r175350- --enable-languages=c,c++ Thread model: posix gcc version 4.7.0 20110623 (experimental) (GCC) [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ current-gcc -O3 small.c -c small.c: In function 'un_': small.c:13:5: internal compiler error: in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ [regehr@gamow tmp032]$ cat small.c struct S1 { int f4; int f5; int f9; }; int *zz; struct S1 g_40; struct S1 g_69; int g_79; int un_ (struct S1 **p_, int p_6, char p_66) { char l_76[] = { 0, 0, 0, 0, 1, }; for (g_40.f4 = 1; g_40.f4; g_40.f4 += 1) { int *l_78 = &g_79; *l_78 = l_76[g_40.f4]; if (zz) return 1; *l_78 = p_66 >= g_40.f9; if (g_69.f5) break; } return 0; }