On 2005-06-18 15:51:50 +0200, Mattias Karlsson wrote: > Anyway my point of view is that the solution to anyone needing > strict IEEE semantics are:
You are wrong. IEEE allows extended precision. We are talking about *ISO C99* semantics. > 1) Use -float-store Note: -ffloat-store. This is not a solution as it doesn't affect casts (I haven't checked, but it was said by several GCC developers). > 2) Use sse math Not available everywhere, and not the default everywhere even when it is available. > 3) Learn to live without it. Learn to live with buggy compilers? > Since the "gcc-is-buggy" solution of changing x87 rounding modes will: > 1) Be a lot of work. > 2) Cause a lot of regressions. This remains to see. BTW, the Opteron uses SSE by default. Did you see a lot of regressions? Other solutions that would fix the bug (but not ultimate solutions): 1) Do not claim that gcc is a conforming ISO C implementation. 2) Output a diagnostic. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA