[Bug 241550] Base Clang can't compile trivial CUDA programs: error: no matching function for call to '__isnan'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 29 18:40:07 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241550

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |das at FreeBSD.org,
                   |                            |kib at FreeBSD.org

--- Comment #3 from Dimitry Andric <dim at FreeBSD.org> ---
Ah, I see we also have a different implementation of __isnan and __isnanf (but
not __isnanl) in lib/libc/gen/isnan.c.  That one actually tests IEEE bits,
instead of just doing "x != x".

So maybe that is the reason we can't expose __isnan, for backwards
compatibility?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list