aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-07-30 01:42:19 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-07-30 01:42:19 +0000
commit0cd2fb440df3fe8c3a4197dd5fdaa1d144bf9fc9 (patch)
tree762fa555bff25a2ff6ecafbd89629911506f5569
parentb642261e5c329527e13655cf21a85dae7ff5a91b (diff)
downloadgcc-0cd2fb440df3fe8c3a4197dd5fdaa1d144bf9fc9.zip
gcc-0cd2fb440df3fe8c3a4197dd5fdaa1d144bf9fc9.tar.gz
gcc-0cd2fb440df3fe8c3a4197dd5fdaa1d144bf9fc9.tar.bz2
real.c (ieee_24, [...]): Define only if the floating point format of the target is IEEE.
* 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. From-SVN: r55859
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/real.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9f29a38..5c17ee3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
+
+ * 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.
+
2002-07-29 Richard Henderson <rth@redhat.com>
* unroll.c (verify_addresses): Remove.
diff --git a/gcc/real.c b/gcc/real.c
index 4dcd036..7583c19 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];