[Bug other/63387] Optimize pairs of isnan() calls into a single isunordered()

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 13 13:32:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63387

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I am not sure about signalling NAN issues, but doesn't it otherwise also apply
to code like the following? At least in terms of generated assembler, the
result looks the same.

  _Bool foo(float x, float y) { return x != x || y != y; }



More information about the Gcc-bugs mailing list