[Bug target/21809] Floating Optimization Bug

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun May 29 19:43:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list