summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-12 15:50:43 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-12 15:50:43 +0000
commitfcdf59b6e20095ae0a72bb1b51272ab471dc1306 (patch)
treeb150f24f4b6602d5aa82b3f81a30d46dd57e7e08 /gcc
parent6a96cf3a4922b601e654fd51a81f3d388efd4a8f (diff)
downloadgcc-fcdf59b6e20095ae0a72bb1b51272ab471dc1306.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56232 138bc75d-0d04-0410-961f-82ee72b054a4
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 360b4a77e6e..e317d5eb883 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 7583c193f19..d2e0a8d85c5 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};