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
This commit is contained in:
Jeffrey A Law 1999-12-21 06:02:59 +00:00 committed by Jeff Law
parent 3ef397c1c6
commit f0bd6b8ed8
2 changed files with 6 additions and 5 deletions

View File

@ -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.

View File

@ -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;
}