[Bug optimization/7270] Redundant compares not eliminated on x86.
pinskia@physics.uc.edu
gcc-bugzilla@gcc.gnu.org
Thu Jun 5 02:29:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7270
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |SUSPENDED
------- Additional Comments From pinskia@physics.uc.edu 2003-06-05 02:29 -------
This still exists on the tree-ssa branch it converts the function to
foo (a)
{
unsigned int T.1;
unsigned int * T.2;
unsigned int * T.3;
unsigned int T.4;
{
unsigned int i;
while (1)
{
T.3 = a;
T.4 = *T.3;
if (T.4 == 0)
{
return 9;
}
else
{
return 15;
}
}
}
}
So it looks like it is really fixed on the tree-ssa branch (it gets rid of the loop also).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list