From 6a7488afb8f10aff65fddfa4b5e146634d7351ae Mon Sep 17 00:00:00 2001 From: ghazi Date: Wed, 15 Sep 1999 13:53:46 +0000 Subject: * 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 --- gcc/ggc-simple.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/ggc-simple.c') 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; }; -- cgit v1.2.1