From a05afb95112f6aaa6fe82bcd208b582e80eb7637 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 23 Sep 1993 05:52:37 +0000 Subject: [PATCH] Include bytetypes.h only if __GNUC__. (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. From-SVN: r5428 --- gcc/bc-emit.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/bc-emit.c b/gcc/bc-emit.c index 3b552581f0d..1fb3f36c99a 100644 --- a/gcc/bc-emit.c +++ b/gcc/bc-emit.c @@ -27,7 +27,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "real.h" #include "obstack.h" #include "bytecode.h" +#ifdef __GNUC__ #include "bytetypes.h" +#endif #include "bc-emit.h" #include "bc-opcode.h" #include "bc-typecd.h" @@ -408,10 +410,10 @@ bc_initialize () bc_text_seg = seg_create (); bc_data_seg = seg_create (); - dconst0 = REAL_VALUE_ATOF ("0"); - dconst1 = REAL_VALUE_ATOF ("1"); - dconst2 = REAL_VALUE_ATOF ("2"); - dconstm1 = REAL_VALUE_ATOF ("-1"); + dconst0 = REAL_VALUE_ATOF ("0", DFmode); + dconst1 = REAL_VALUE_ATOF ("1", DFmode); + dconst2 = REAL_VALUE_ATOF ("2", DFmode); + dconstm1 = REAL_VALUE_ATOF ("-1", DFmode); /* Find the narrowest mode for each class and compute the word and byte modes. */ -- 2.30.2