[clang] Disable FTZ/DAZ when compiling shared libraries by default. (PR #80475)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 14:32:59 PST 2024


================
@@ -117,6 +117,11 @@ C23 Feature Support
 Non-comprehensive list of changes in this release
 -------------------------------------------------
 
+* Code compiled with ``-shared`` and ``-ffast-math`` will no longer enable
+  flush-to-zero floating-point mode by default. This decision can be overridden
----------------
andykaylor wrote:

You may want to revise this to clarify that this only refers to the use of -shared and -ffast-math on the command-line used to link the program.

https://github.com/llvm/llvm-project/pull/80475


More information about the cfe-commits mailing list