diff options
author | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-11 20:55:37 +0000 |
---|---|---|
committer | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-11 20:55:37 +0000 |
commit | bae6edffc59e985ce4b6cacf2e3e31ef728b7c79 (patch) | |
tree | 132aa47f8b5f8cea4bba7a54fa01012b8a9a1a10 /gcc/ginclude | |
parent | b49f2e4bb0ee85b8cf91d62ab3c47e9b2723bb79 (diff) | |
download | gcc-bae6edffc59e985ce4b6cacf2e3e31ef728b7c79.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215191 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/float.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h index a8e05bfcdf7..4927f3614ad 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 */ |