diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-15 13:53:46 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-15 13:53:46 +0000 |
commit | 6a7488afb8f10aff65fddfa4b5e146634d7351ae (patch) | |
tree | 791babe4f9717ac17238ae99a9868e7212095d27 /gcc/ggc-simple.c | |
parent | bffcf01410ba886afbb7a6e4bb238a5c024b2e9c (diff) | |
download | gcc-6a7488afb8f10aff65fddfa4b5e146634d7351ae.tar.gz |
* aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
* configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
* gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
* ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29432 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r-- | gcc/ggc-simple.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index 12f9f8610d3..8f375d157ac 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -86,7 +86,11 @@ struct ggc_any union { char c; HOST_WIDE_INT i; +#ifdef HAVE_LONG_DOUBLE long double d; +#else + double d; +#endif } u; }; |