projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765fd9c
)
Relax this check to silently swallow FE_INEXACT, following directions
author
Dan Gohman
<gohman@apple.com>
Mon, 20 Sep 2010 22:32:25 +0000
(22:32 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 20 Sep 2010 22:32:25 +0000
(22:32 +0000)
from rdar://
8452472
. This unbreaks gcc.dg/builtins-17.c.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114368
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/FEnv.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/FEnv.h
b/include/llvm/System/FEnv.h
index 4c72eb2ab261b3f6c55de7eabed8f9104058baad..57097d2f57a71fc61c033ad9bc9a824d20bab855 100644
(file)
--- a/
include/llvm/System/FEnv.h
+++ b/
include/llvm/System/FEnv.h
@@
-38,7
+38,7
@@
static inline bool llvm_fenv_testexcept() {
if (errno_val == ERANGE || errno_val == EDOM)
return true;
#ifdef HAVE_FENV_H
- if (fetestexcept(FE_ALL_EXCEPT))
+ if (fetestexcept(FE_ALL_EXCEPT
& ~FE_INEXACT
))
return true;
#endif
return false;