================ @@ -6826,6 +6826,10 @@ def warn_floatingpoint_eq : Warning< "comparing floating point with == or != is unsafe">, InGroup<DiagGroup<"float-equal">>, DefaultIgnore; +def warn_fenv_access : Warning< + "floating point environment access without #pragma STDC FENV_ACCESS set ON">, + InGroup<DiagGroup<"float-env">>; ---------------- jhuber6 wrote:
I'm not specifically knowledgeable about how this should be handled in the grander scheme. Could I get rid of the warning and leave that for a separate patch? https://github.com/llvm/llvm-project/pull/83906 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits