This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49926] [4.7 Regression] ice in process_use, at tree-vect-stmts.c:405
- 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: Sun, 31 Jul 2011 22:52:27 +0000
- Subject: [Bug tree-optimization/49926] [4.7 Regression] ice in process_use, at tree-vect-stmts.c:405
- Auto-submitted: auto-generated
- References: <bug-49926-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49926
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-31 22:51:30 UTC ---
Actually, that was over-simplified, that crashed just at r173856 and a few
hundred revisions afterwards, this fails even with current trunk at -O3:
int a, b, c[10];
void
foo (unsigned int x, int y, int z, int *w)
{
do
{
*w = z;
y = x;
if (y)
for (b = -4; b; b++)
{
z = y &= a &= 1;
y &= c[b + 4];
}
}
while (1);
}