From 161ca48c6991ebe9fcd0dc45e3a80a98bd11a259 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 3 Feb 1992 04:32:05 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r273 --- gcc/real.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/real.h b/gcc/real.h index 1310ace37f2..3e691ff436a 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -128,7 +128,8 @@ extern double (atof) (); #ifndef REAL_VALUE_TRUNCATE #define REAL_VALUE_TRUNCATE(mode, x) \ - (GET_MODE_BITSIZE (mode) == GET_MODE_BITSIZE (SFmode) ? (float) (x) : (x)) + (GET_MODE_BITSIZE (mode) == sizeof (float) * HOST_BITS_PER_CHAR \ + ? (float) (x) : (x)) #endif /* Determine whether a floating-point value X is infinite. */