[llvm-bugs] [Bug 51411] Semantic error - - different output are observed on changing flags

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 9 03:25:54 PDT 2021


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

Roman Lebedev <lebedev.ri at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |lebedev.ri at gmail.com,
                   |                            |scanon at apple.com

--- Comment #1 from Roman Lebedev <lebedev.ri at gmail.com> ---
This seems to be working as intended.
`-ffast-math` implies `-fno-honor-infinities`,
which specifies that the result of an FP computation can not be inf,
so naturally, if you were expecting to end up with an inf,
that's UB.

-- 
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/20210809/0adf2336/attachment-0001.html>


More information about the llvm-bugs mailing list