From: Richard Stallman Date: Thu, 23 Sep 1993 05:52:37 +0000 (+0000) Subject: Include bytetypes.h only if __GNUC__. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a05afb95112f6aaa6fe82bcd208b582e80eb7637;p=gcc.git Include bytetypes.h only if __GNUC__. (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. From-SVN: r5428 --- 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. */