mikaelholmen wrote: Hello,
It seems like with this change it warns like ``` w.c:1:10: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1 | # ifndef INFINITY | ^ 1 warning generated. ``` with ``` clang w.c -c -ffast-math ``` on input like ``` # ifndef INFINITY # endif ``` Is this expected and wanted? https://github.com/llvm/llvm-project/pull/76873 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits