aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
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/fold-const.c
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/fold-const.c')
-rw-r--r--gcc/fold-const.c6
1 files changed, 1 insertions, 5 deletions
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;
}