summaryrefslogtreecommitdiffstats
path: root/gcc/bc-emit.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-23 05:52:37 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-23 05:52:37 +0000
commit49d3917bd2a42733dbc4f8f50c62bd01734bebc4 (patch)
tree6d844e081b2c2fd37710436a70306c0805c48da2 /gcc/bc-emit.c
parent4d1c917efc7e29e509e9a4b07d36afa455109936 (diff)
downloadppe42-gcc-49d3917bd2a42733dbc4f8f50c62bd01734bebc4.tar.gz
ppe42-gcc-49d3917bd2a42733dbc4f8f50c62bd01734bebc4.zip
Include bytetypes.h only if __GNUC__.
(bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bc-emit.c')
-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 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. */
OpenPOWER on IntegriCloud