This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19038] [4.0 Regression] out-of ssa causing loops to have more than one BB
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2004 19:04:35 -0000
- Subject: [Bug tree-optimization/19038] [4.0 Regression] out-of ssa causing loops to have more than one BB
- References: <20041216155140.19038.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-20 19:04 -------
The reduced testcase (well heavely modified) looks like:
int
f (int temp2, int temp3, int xlvj_, int zlvj_, int yv1j_, int yv2j_)
{
int temp1, temp5;
for(;;) {
temp1 = temp2*xlvj_ - temp3*zlvj_;
temp3 = temp2*zlvj_ + temp3*xlvj_;
temp5 = temp2;
temp2 = temp1;
if (temp3)
break;
}
return yv1j_ * yv2j_;
}
Before the tree-ssa we would produce one BB when creating RTL but after out of ssa produces an extra
BB to hold " temp2 = temp1;"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19038