================
@@ -21,6 +25,7 @@ void a() {
   EVALF((2. + 3i) + (4. + 5i), 6. + 8i);
   EVALF((2. + 3i) - (4. + 5i), -2. - 2i);
   EVALF((2. + 3i) * (4. + 5i), -7. + 22i);
+  // div-precision-warning@+1 {{excess precision is requested but the target 
does not support excess precision which may result in observable differences in 
arithmetic behavior ,additional use of 'long double' were found but not 
diagnosed}}
----------------
zahiraam wrote:

In this case, we are promoting `double` to `long double` (the higher type) but 
on Windows `double` and `long double` have the same size, so the warning is 
there for that.

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

Reply via email to