------- Comment #5 from hjl dot tools at gmail dot com 2010-08-23 16:29 -------
ICC people say
--
In my opinion, FP multiplication and addition should be considered commutative
at both the C and intrinsic level. The only case where the underlying
instructions behave in a non-commutative manner is when both operands are NaN.
And in that case, even the IEEE-754 floating-point standard does not specify
which operand NaN should be returned as the result. The C standard doesn't
distinguish between different NaN values at all.
If the programmer cares about this very subtle detail in the handling of NaNs,
I think inline assembly is the right option.
---
Closing as WONTFIX.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45365