nico wrote:

We're hitting this in LLVM's libc's math, e.g. here 
https://github.com/llvm/llvm-project/blob/f97789da65cc2e55d5ff77b83b6f779d1d11aa7f/libc/src/__support/FPUtil/FEnvImpl.h#L52

That code is meant to be included in user code, where pragma STDC FENV_ACCESS 
might be on or off, and we don't know what the compiler flags are.

What is library code supposed to do with this warning? Is there a preprocessor 
way to check what FENV_ACCESS is set to? Something else actionable?

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

Reply via email to