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/23133] recip does not factor division by function parameter


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-29 13:45 -------
Confirmed, another testcase (which might be needed as the redundant load of a and b are not done):
double a, b;
int x;
double foo(double d)
{
  double a1 = a, b1 = b;
  if (x)
     a1/=d;
  return (a1/d) * (b1/d);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-29 13:45:43
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23133


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