http://llvm.org/bugs/show_bug.cgi?id=12161
Bug #: 12161
Summary: you shouldn't be able to set -fmath-errno if your libm
doesn't support errno
Product: clang
Version: 3.0
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
(I've split this specific issue out from PR11858.)
On systems like Darwin where libm doesn't support setting errno, it makes no
sense to compile with -fmath-errno, because the compiler can't possibly
guarantee that math functions will set errno. So on such systems the option
shouldn't exists, or you should get an error or a warning if you try to set it.
--
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