aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-09-23 05:52:37 +0000
committerRichard Stallman <rms@gnu.org>1993-09-23 05:52:37 +0000
commita05afb95112f6aaa6fe82bcd208b582e80eb7637 (patch)
tree6d844e081b2c2fd37710436a70306c0805c48da2 /gcc
parentd5056595c0b2d369635958ade96aca97accaff4c (diff)
downloadgcc-a05afb95112f6aaa6fe82bcd208b582e80eb7637.zip
gcc-a05afb95112f6aaa6fe82bcd208b582e80eb7637.tar.gz
gcc-a05afb95112f6aaa6fe82bcd208b582e80eb7637.tar.bz2
Include bytetypes.h only if __GNUC__.
(bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. From-SVN: r5428
Diffstat (limited to 'gcc')
-rw-r--r--gcc/bc-emit.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/bc-emit.c b/gcc/bc-emit.c
index 3b55258..1fb3f36 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. */