http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52073
Bug #: 52073 Summary: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 Classification: Unclassified 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 [regehr@gamow tmp]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r183767-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-r183767-install --program-prefix=r183767- --enable-languages=c,c++ Thread model: posix gcc version 4.7.0 20120131 (experimental) (GCC) [regehr@gamow tmp]$ current-gcc -Ofast small.c small.c: In function 'fn8': small.c:28:1: internal compiler error: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [regehr@gamow tmp]$ cat small.c int c; int fn3 () { return c; } int d; int fn4 (ui2) { d = ui2; return 0 == d; } struct S0 { }; int e; int f; int g; int h; static unsigned long long fn5 (unsigned char); void fn6 (struct S0); void fn7 (); struct S0 j; void fn8 () { fn6 (j); fn5 (0); } unsigned long long fn5 (unsigned char p_7) { for (;; h--) fn7 (); } void fn6 (struct S0 p_16) { e = 1; } int m; int n; void fn7 () { int p; lbl_140:p = fn3 (); if (f) { if (e) goto lbl_140; for (; m;) --g; } else for (n = 5; n; n--) p = fn4 (p); if (p) { } else f = 0; }