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

Jay Foad <[email protected]> changed:

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

--- Comment #4 from Jay Foad <[email protected]> 2012-03-02 03:19:02 CST ---
There are several issues here:

1. On Linux, clang -fno-math-errno doesn't arrange for math_errhandling to be
set appropriately. I've raised this as PR12160.

2. On Darwin, libm doesn't support errno at all, so you should get an error or
warning if you try to compile with -fmath-errno. I've raised this as PR 12161.

3. I'm not a big fan of -O implying -fno-math-errno. But it's not a bug, and I
haven't found anyone who agrees with me, so I'll drop this complaint.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to