[clang] Clean up denormal handling with -ffp-model, -ffast-math, etc. (PR #89477)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 26 11:42:21 PDT 2024


================
@@ -64,7 +64,8 @@
 
 // RUN: %clang -### -ffp-model=strict -fdenormal-fp-math=preserve-sign,preserve-sign -c %s 2>&1 \
----------------
MaskRay wrote:

You can use `-### -Werror` to ensure that there is no warning.

(In the absence of a `--target=`, you probably want to check a few different targets that the warning is printed regardless of the default target triple.)

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


More information about the cfe-commits mailing list