aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-12-21 06:02:59 +0000
committerJeff Law <law@gcc.gnu.org>1999-12-20 23:02:59 -0700
commitf0bd6b8ed8bfbced9ad7720d34f0e5fe109cc565 (patch)
tree5db6a73ab82331416e0e72b8541be6432fd179a1 /gcc
parent3ef397c1c6defdd895e5b1f41931176fe7706133 (diff)
downloadgcc-f0bd6b8ed8bfbced9ad7720d34f0e5fe109cc565.zip
gcc-f0bd6b8ed8bfbced9ad7720d34f0e5fe109cc565.tar.gz
gcc-f0bd6b8ed8bfbced9ad7720d34f0e5fe109cc565.tar.bz2
fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
* fold-const.c (real_hex_to_f): Remove unused "isldouble" variable. Remove redundant initialization of "frexpon" and "expon". From-SVN: r31043
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/fold-const.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1c25e77..9e7e42d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
+
+ * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
+ Remove redundant initialization of "frexpon" and "expon".
+
Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 7d676a8..ed111b4 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -988,7 +988,7 @@ real_hex_to_f (s, mode)
char *p = s;
unsigned HOST_WIDE_INT low, high;
int expon, shcount, nrmcount, k;
- int sign, expsign, isfloat, isldouble;
+ int sign, expsign, isfloat;
int lost = 0;/* Nonzero low order bits shifted out and discarded. */
int frexpon = 0; /* Bits after the decimal point. */
int expon = 0; /* Value of exponent. */
@@ -996,10 +996,7 @@ real_hex_to_f (s, mode)
int gotp = 0; /* How many P's. */
char c;
- isldouble = 0;
isfloat = 0;
- frexpon = 0;
- expon = 0;
expsign = 1;
ip = 0.0;
@@ -1100,7 +1097,6 @@ real_hex_to_f (s, mode)
else if (c == 'l' || c == 'L')
{
- isldouble = 1;
++p;
break;
}