This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29446] [4.2 Regression] VRP ICE in compare_names
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2006 08:22:43 -0000
- Subject: [Bug tree-optimization/29446] [4.2 Regression] VRP ICE in compare_names
- References: <bug-29446-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-10-13 08:22 -------
Slightly less undefined, ICEs with -O -ftree-vrp -funswitch-loops:
void f(_Bool D917, int j0, int ubound1, int ubound5)
{
int i, j = j0;
int (*abc)[3];
i = 1;
while (1)
{
if (j <= 3)
while (1)
{
if (i != j)
{
if (ubound1 <= 0)
return;
(*abc)[1] = 0;
}
else
{
if (j > ubound1)
return;
if (ubound5 <= 0)
return;
}
j = j + 1;
if (D917)
break;
}
i = i + 1;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29446