Commit f0bd6b8e by Jeffrey A Law Committed by Jeff Law

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
parent 3ef397c1
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> 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. * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
......
...@@ -988,7 +988,7 @@ real_hex_to_f (s, mode) ...@@ -988,7 +988,7 @@ real_hex_to_f (s, mode)
char *p = s; char *p = s;
unsigned HOST_WIDE_INT low, high; unsigned HOST_WIDE_INT low, high;
int expon, shcount, nrmcount, k; 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 lost = 0;/* Nonzero low order bits shifted out and discarded. */
int frexpon = 0; /* Bits after the decimal point. */ int frexpon = 0; /* Bits after the decimal point. */
int expon = 0; /* Value of exponent. */ int expon = 0; /* Value of exponent. */
...@@ -996,10 +996,7 @@ real_hex_to_f (s, mode) ...@@ -996,10 +996,7 @@ real_hex_to_f (s, mode)
int gotp = 0; /* How many P's. */ int gotp = 0; /* How many P's. */
char c; char c;
isldouble = 0;
isfloat = 0; isfloat = 0;
frexpon = 0;
expon = 0;
expsign = 1; expsign = 1;
ip = 0.0; ip = 0.0;
...@@ -1100,7 +1097,6 @@ real_hex_to_f (s, mode) ...@@ -1100,7 +1097,6 @@ real_hex_to_f (s, mode)
else if (c == 'l' || c == 'L') else if (c == 'l' || c == 'L')
{ {
isldouble = 1;
++p; ++p;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment