OSDN Git Service

* fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Dec 1999 06:02:59 +0000 (06:02 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Dec 1999 06:02:59 +0000 (06:02 +0000)
        Remove redundant initialization of "frexpon" and "expon".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31043 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fold-const.c

index 1c25e77..9e7e42d 100644 (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.
index 7d676a8..ed111b4 100644 (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;
         }