[LLVMbugs] [Bug 12667] LLVM reorders math function and the use of errno with -O2 on ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 25 19:12:50 PDT 2012


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

Chandler Carruth <chandlerc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chandlerc at gmail.com
         Resolution|                            |FIXED

--- Comment #1 from Chandler Carruth <chandlerc at gmail.com> 2012-04-25 21:12:50 CDT ---
"Fixed" in r155607. We have long set '-fno-math-errno' by default on Linux.
This has been the default on Darwin, and continues to be the default there, but
Linux uses '-fmath-errno' by default, and as you noticed, code relies on this.

Let me know if you're still seeing issues.

-- 
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