aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/float.h
diff options
context:
space:
mode:
authorMarc Glisse <glisse@gcc.gnu.org>2014-09-11 20:55:37 +0000
committerMarc Glisse <glisse@gcc.gnu.org>2014-09-11 20:55:37 +0000
commit179b5a554c64bbcd8cdbdd5acc9cda92bd5f9d84 (patch)
tree132aa47f8b5f8cea4bba7a54fa01012b8a9a1a10 /gcc/ginclude/float.h
parenta827d9b1943e966713fbc5cd8f56722791f524aa (diff)
downloadgcc-179b5a554c64bbcd8cdbdd5acc9cda92bd5f9d84.zip
gcc-179b5a554c64bbcd8cdbdd5acc9cda92bd5f9d84.tar.gz
gcc-179b5a554c64bbcd8cdbdd5acc9cda92bd5f9d84.tar.bz2
re PR target/58757 (Advertise the lack of denormal support on alpha without -mieee)
2014-09-11 Marc Glisse <marc.glisse@inria.fr> PR target/58757 gcc/c-family/ * c-cppbuiltin.c (builtin_define_float_constants): Correct __*_DENORM_MIN__ without denormals. gcc/ * ginclude/float.h (FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN): Directly forward to __*_DENORM_MIN__. gcc/testsuite/ * gcc.dg/c11-true_min-1.c: New testcase. From-SVN: r215191
Diffstat (limited to 'gcc/ginclude/float.h')
-rw-r--r--gcc/ginclude/float.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h
index a8e05bf..4927f36 100644
--- a/gcc/ginclude/float.h
+++ b/gcc/ginclude/float.h
@@ -178,21 +178,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef FLT_TRUE_MIN
#undef DBL_TRUE_MIN
#undef LDBL_TRUE_MIN
-#if __FLT_HAS_DENORM__
#define FLT_TRUE_MIN __FLT_DENORM_MIN__
-#else
-#define FLT_TRUE_MIN __FLT_MIN__
-#endif
-#if __DBL_HAS_DENORM__
#define DBL_TRUE_MIN __DBL_DENORM_MIN__
-#else
-#define DBL_TRUE_MIN __DBL_MIN__
-#endif
-#if __LDBL_HAS_DENORM__
#define LDBL_TRUE_MIN __LDBL_DENORM_MIN__
-#else
-#define LDBL_TRUE_MIN __LDBL_MIN__
-#endif
#endif /* C11 */