This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/21809] Floating Optimization Bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]