diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-02-11 22:18:10 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-02-11 22:18:10 +0000 |
commit | 406deaced8fd5e5cd647dfb31525c95cf87753ac (patch) | |
tree | eeaa671e3dc3d0ebce056d3ea0c00992d8a93ada /test/Headers | |
parent | 6df7834ea1564dc1602d8d98a7c9390d17e8bf25 (diff) |
Remove bogus check that larger floating point types have smaller minimum
normalized exponents. That's not true for double versus double double.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r-- | test/Headers/float.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/Headers/float.c b/test/Headers/float.c index 9dd1cec90b..f492531f39 100644 --- a/test/Headers/float.c +++ b/test/Headers/float.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -ffreestanding %s // expected-no-diagnostics -// XFAIL: ppc64 - /* Basic conformance checks against the N1570 draft of C11 Std. */ /* 5.2.4.2.2p11, pp. 30 @@ -112,9 +110,6 @@ #elif LDBL_MIN_EXP > -2 #error "Mandatory macro LDBL_MIN_EXP is invalid." #endif -#if ((FLT_MIN_EXP < DBL_MIN_EXP) || (DBL_MIN_EXP < LDBL_MIN_EXP)) - #error "Mandatory macros {FLT,DBL,LDBL}_MIN_EXP are invalid." -#endif #ifndef FLT_MIN_10_EXP @@ -132,9 +127,6 @@ #elif LDBL_MIN_10_EXP > -37 #error "Mandatory macro LDBL_MIN_10_EXP is invalid." #endif -#if ((FLT_MIN_10_EXP < DBL_MIN_10_EXP) || (DBL_MIN_10_EXP < LDBL_MIN_10_EXP)) - #error "Mandatory macros {FLT,DBL,LDBL}_MIN_10_EXP are invalid." -#endif #ifndef FLT_MAX_EXP |