This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10644: float calculation exceeds representation max, only when optimizer is turned on
- From: ehrhardt at mathematik dot uni-ulm dot de
- To: bird at bainet dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 6 May 2003 21:09:15 -0000
- Subject: Re: optimization/10644: float calculation exceeds representation max, only when optimizer is turned on
- Reply-to: ehrhardt at mathematik dot uni-ulm dot de, bird at bainet dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: float calculation exceeds representation max, only when optimizer is turned on
State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Tue May 6 21:09:15 2003
State-Changed-Why:
Not a Bug. If you want exact floating point behaviour use -ffloat-store
which fixes your problem. If you don't do this gcc will happily do your
calculations at higher precision if that helps optimization.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10644