r260610 - Remove bogus check that larger floating point types have smaller minimum
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 11 14:18:10 PST 2016
Author: rsmith
Date: Thu Feb 11 16:18:10 2016
New Revision: 260610
URL: http://llvm.org/viewvc/llvm-project?rev=260610&view=rev
Log:
Remove bogus check that larger floating point types have smaller minimum
normalized exponents. That's not true for double versus double double.
Modified:
cfe/trunk/test/Headers/float.c
Modified: cfe/trunk/test/Headers/float.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/float.c?rev=260610&r1=260609&r2=260610&view=diff
==============================================================================
--- cfe/trunk/test/Headers/float.c (original)
+++ cfe/trunk/test/Headers/float.c Thu Feb 11 16:18:10 2016
@@ -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
More information about the cfe-commits
mailing list