This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/14851] [4.0 Regression] suboptimal fp division with -ffast-math
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2004 05:17:07 -0000
- Subject: [Bug rtl-optimization/14851] [4.0 Regression] suboptimal fp division with -ffast-math
- References: <20040405135542.14851.uros@kss-loka.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at kss-loka dot si 2004-09-21 05:17 -------
CVS commit in comment #4 is only partial fix for this PR. Please look at
http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01928.html
There are still troubles with testcases:
double test (double x) {
return 1.1 / x;
}
[A fix is proposed for above testcase]
and
double test (double x, double y) {
return 5.1 / x + 5.2 / y;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14851