aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-08-12 15:50:43 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-08-12 15:50:43 +0000
commitd71f770043fd525ec3df1d33311f653ecdd80e88 (patch)
treeb150f24f4b6602d5aa82b3f81a30d46dd57e7e08 /gcc
parentc16576e6c602529410942d7aa5e445bce3e58748 (diff)
downloadgcc-d71f770043fd525ec3df1d33311f653ecdd80e88.zip
gcc-d71f770043fd525ec3df1d33311f653ecdd80e88.tar.gz
gcc-d71f770043fd525ec3df1d33311f653ecdd80e88.tar.bz2
real.c (ieee_64): Always define.
* real.c (ieee_64): Always define. (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. (dec_h): Not used yet, hide it. (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with macro controlling use. (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. From-SVN: r56232
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/real.c13
2 files changed, 19 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 360b4a7..e317d5e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * real.c (ieee_64): Always define.
+ (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
+ (dec_h): Not used yet, hide it.
+ (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
+ macro controlling use.
+ (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
+
Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.md (tablejump): Sign extend the operand.
diff --git a/gcc/real.c b/gcc/real.c
index 7583c19..d2e0a8d 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -342,6 +342,8 @@ static const struct ieee_format ieee_53 =
EXONE - 0x3ff
};
+#endif /* IEEE */
+
/* IEEE extended double (64 bits). */
static const struct ieee_format ieee_64 =
{
@@ -352,6 +354,7 @@ static const struct ieee_format ieee_64 =
0
};
+#if (INTEL_EXTENDED_IEEE_FORMAT == 0)
/* IEEE long double (113 bits). */
static const struct ieee_format ieee_113 =
{
@@ -361,7 +364,7 @@ static const struct ieee_format ieee_113 =
TFmode,
0
};
-#endif
+#endif /* INTEL_EXTENDED_IEEE_FORMAT == 0 */
#ifdef DEC
/* DEC F float (24 bits). */
@@ -394,6 +397,7 @@ static const struct ieee_format dec_g =
EXONE - 1025
};
+#if 0
/* DEC H float (113 bits). (not yet used) */
static const struct ieee_format dec_h =
{
@@ -404,6 +408,7 @@ static const struct ieee_format dec_h =
EXONE - 16385
};
#endif
+#endif /* DEC */
extern int extra_warnings;
extern const UEMUSHORT ezero[NE], ehalf[NE], eone[NE], etwo[NE];
@@ -2594,7 +2599,7 @@ static void
emdnorm (s, lost, subflg, exp, rcntrl)
UEMUSHORT s[];
int lost;
- int subflg;
+ int subflg ATTRIBUTE_UNUSED;
EMULONG exp;
int rcntrl;
{
@@ -2753,7 +2758,9 @@ emdnorm (s, lost, subflg, exp, rcntrl)
#endif
eaddm (rbit, s);
}
+#ifndef C4X
mddone:
+#endif
/* Undo the temporary shift for denormal values. */
if ((exp <= 0) && (rndprc != NBITS)
&& ((rndprc != 64) || ((rndprc == 64) && ! REAL_WORDS_BIG_ENDIAN)))
@@ -5961,7 +5968,7 @@ toc4x (x, y, mode)
#ifdef TFMODE_NAN
TFMODE_NAN;
#else
-#ifdef IEEE
+#if defined (IEEE) && (INTEL_EXTENDED_IEEE_FORMAT == 0)
static const UEMUSHORT TFbignan[8] =
{0x7fff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff};
static const UEMUSHORT TFlittlenan[8] = {0, 0, 0, 0, 0, 0, 0x8000, 0xffff};