[llvm-bugs] [Bug 46799] FP flags differ on same operation (<) in different contexts

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 21 17:35:02 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46799

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
You need to enable FENV_ACCESS in order to use <fenv.h> features that observe
the exception state. Clang doesn't yet support the pragma (see duplicate bug),
but you can use -ffp-model=strict to enable FENV_ACCESS by default.

*** This bug has been marked as a duplicate of bug 8100 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200722/65c01043/attachment.html>


More information about the llvm-bugs mailing list