https://bugs.llvm.org/show_bug.cgi?id=42972

Jon Chesterfield <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jon Chesterfield <[email protected]> ---
This is fixed on trunk.

I suspect the problem was that glibc defines these functions as constexpr (for
some c++ versions) and __clang_cuda_math_forward_declares.h did not.

Clang 10.0 did not include constexpr in the definition of __DEVICE__, I haven't
checked what the status was for trunk as of when this bug was opened.

On trunk, the functions are now defined as constexpr, and the failure mode
reported here no longer reproduces.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to