https://github.com/AaronBallman commented:

I'm pretty sure the C implementation of `constexpr` leans on this code to 
determine if the value is exactly representable without a change in value. But 
it looks like Clang currently doesn't get this quite right: 
https://godbolt.org/z/W3a8cPjnM Can you add some tests for C as well? (We can 
use the tests to document existing behavior, but there may be bugs here to be 
addressed. CC @Fznamznon)

https://github.com/llvm/llvm-project/pull/78112
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to