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: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2005 19:37: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 joseph at codesourcery dot com 2005-05-29 19:37 -------
Subject: Re: New: [3.4/4.0/4.1 Regression]
Floating Optimization Bug
On Sun, 29 May 2005, themis_hv at yahoo dot co dot uk wrote:
> This case (test-case.c) works with gcc -O0 without a problem.
>
> But with gcc {-O1,-O2,-O3,-Os} causes the following error:
> test: test.c:9: main: Assertion 'a == x' failed'
Not if you use -ffloat-store, as is required if you wish to avoid such
instances of paradoxical excess precision.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21809