This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52073] [4.7 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jan 2012 22:24:16 +0000
- Subject: [Bug tree-optimization/52073] [4.7 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620
- Auto-submitted: auto-generated
- References: <bug-52073-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52073
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-31 22:24:16 UTC ---
Reduced testcase:
int a, b, c, d, e, f;
void
foo (int x)
{
e = 1;
for (;;)
{
int g = c;
if (x)
{
if (e)
continue;
while (a)
--f;
}
else
for (b = 5; b; b--)
{
d = g;
g = 0 == d;
}
if (!g)
x = 0;
}
}