This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/19038] [4.0 Regression] out-of ssa causing loops to have more than one BB


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]