]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
real.c (ieee_24, [...]): Define only if the floating point format of the target is...
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Tue, 30 Jul 2002 01:42:19 +0000 (01:42 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 30 Jul 2002 01:42:19 +0000 (01:42 +0000)
* 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

gcc/ChangeLog
gcc/real.c

index 9f29a385b8806ee467c5c32f4c428aed997d174a..5c17ee3f85f6e9b9b014c83eeae86e8dc308b8d4 100644 (file)
@@ -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.
index 4dcd0363534278f96a78b3ce3546d73b3dd41be9..7583c193f1989702dc61b481e41734845940e8aa 100644 (file)
@@ -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];