This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/21809] Floating Optimization Bug
- From: "themis_hv at yahoo dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2005 17:58:10 -0000
- Subject: [Bug target/21809] Floating Optimization Bug
- References: <20050529162127.21809.themis_hv@yahoo.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From themis_hv at yahoo dot co dot uk 2005-05-29 17:58 -------
This also occurs with double, using test-case.c but with float replaced with
double, so code fragment looks like:
test-case.c:
#include <assert,h>
volatile double x = 3;
int main()
{
double a = 1 / x;
x = a;
assert(a == x);
}
Should I put this as separate PR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21809