[LLVMbugs] [Bug 11854] floating point division by 0.0 vs -ftrapv vs IEEE floating point semantics

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 1 15:30:26 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=11854

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-11-01 17:30:26 CDT ---
As of r167258, -ftrapv no longer catches division by zero, and now has the same
behavior as g++'s -ftrapv. -fcatch-undefined-behavior still catches it (and
soon, -fsanitize=divide-by-zero will allow the requested fine-grained control
over this).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list