This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23133] recip does not factor division by function parameter
- 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: 29 Jul 2005 13:45:44 -0000
- Subject: [Bug tree-optimization/23133] recip does not factor division by function parameter
- References: <20050729133540.23133.rguenth@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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