This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51042] [4.5/4.6/4.7 Regression] endless recursion in phi_translate
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Nov 2011 13:23:00 +0000
- Subject: [Bug tree-optimization/51042] [4.5/4.6/4.7 Regression] endless recursion in phi_translate
- Auto-submitted: auto-generated
- References: <bug-51042-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51042
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-09 13:23:00 UTC ---
Even shorter testcase:
int a, b;
void
foo (int x)
{
int e[2];
int d;
while (x)
{
for (d = 0; d <= 1; d = 1)
if (e[a])
break;
for (b = 0; b <= 0; b = 1)
{
e[a] = a;
if (a)
break;
}
}
}