================
@@ -1053,6 +1053,11 @@ def err_ptrauth_indirect_goto_addrlabel_arithmetic : 
Error<
   "%select{subtraction|addition}0 of address-of-label expressions is not "
   "supported with ptrauth indirect gotos">;
 
+def warn_fe_access_without_fenv_access : Warning<
+  "'%0' used without enabling floating-point exception behavior; use 'pragma 
STDC "
+  "FENV_ACCESS ON' or compile with '-ffp-exception-behavior=maytrap'">,
----------------
andykaylor wrote:

`maytrap` just prevents speculatively executing instructions that could raise 
an exception. It doesn't guarantee strict exception semantics. It also doesn't 
make any guarantees about rounding mode, though in practice you get that as a 
side effect. Should we be recommending '-ffp-model=strict' instead or at least 
mentioning it as an alternative?

https://github.com/llvm/llvm-project/pull/199009
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to