================ @@ -79,3 +79,16 @@ float V7 = []() -> float { 0x0.000001p0F); }(); // CHECK: @V7 = {{.*}} float 1.000000e+00 + +template<float V> struct L { + constexpr L() : value(V) {} + float value; +}; + +#pragma STDC FENV_ROUND FE_DOWNWARD ---------------- erichkeane wrote:
Ah, I see that github ate the first line of my comment, see above, i'v eedited it. https://github.com/llvm/llvm-project/pull/90877 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits