http://llvm.org/bugs/show_bug.cgi?id=18798

Richard Smith <[email protected]> changed:

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

--- Comment #2 from Richard Smith <[email protected]> ---
Aha, found a more complete testcase here:

http://stackoverflow.com/questions/21690154/clang-3-5-constexpr-inconsistency-errors-when-using-double-but-not-int

This is not a Clang bug: const doubles like 'boost::math::double_constants::pi'
can't be used in constant expressions.

The fact that GCC accepts is a bug in GCC: http://gcc.gnu.org/PR57979

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to