[clang] Add clang warning if fp exception functions are called without appropriate flags/pragmas (PR #199009)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 12 11:14:25 PDT 2026


efriedma-quic wrote:

It looks like ConstantFolding.cpp is missing the pragmas.

For host.cpp (and its caller ApplyHostFunctionHelper), it looks like there are also missing pragmas.

I think we need to fix those first.

Maybe @lntue can comment on how LIBC_COMPILER_HAS_STDC_FENV_ACCESS is supposed to work with hand-in-hand?

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


More information about the cfe-commits mailing list