summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-30 01:42:19 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-30 01:42:19 +0000
commitf81fddcacb07010032b671027d99e355dcf6576c (patch)
tree762fa555bff25a2ff6ecafbd89629911506f5569 /gcc/real.c
parentd6484866fbf0477d8d945765d96e671392cf75b9 (diff)
downloadgcc-f81fddcacb07010032b671027d99e355dcf6576c.tar.gz
* real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
floating point format of the target is IEEE. * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point format of the target is DEC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 4dcd0363534..7583c193f19 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -321,6 +321,7 @@ struct ieee_format
EMULONG adjustment;
};
+#ifdef IEEE
/* IEEE float (24 bits). */
static const struct ieee_format ieee_24 =
{
@@ -360,7 +361,9 @@ static const struct ieee_format ieee_113 =
TFmode,
0
};
+#endif
+#ifdef DEC
/* DEC F float (24 bits). */
static const struct ieee_format dec_f =
{
@@ -400,6 +403,7 @@ static const struct ieee_format dec_h =
TFmode,
EXONE - 16385
};
+#endif
extern int extra_warnings;
extern const UEMUSHORT ezero[NE], ehalf[NE], eone[NE], etwo[NE];