Delete unused vars.
authorBernd Schmidt <bernds@cygnus.co.uk>
Mon, 29 Nov 1999 17:35:07 +0000 (17:35 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Mon, 29 Nov 1999 17:35:07 +0000 (17:35 +0000)
From-SVN: r30706

gcc/ChangeLog
gcc/fold-const.c

index 73c8da5eaafba23f61becaf58ceb37321365bd11..07811cbb6c9974243b97e40e962627289baf727a 100644 (file)
@@ -1,5 +1,9 @@
 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
 
+       * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
+       (associate_trees): Delete unused var TEM.
+       (extract_muldiv): Delete unused var CANCEL_P.
+                       
        * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
        (target_isinf, target_isnan, target_negative): Add return types to
        function definitions.
index 5ce6212700a0858cd2997fadc9d3f303b266bcc5..970d58cb42337fcddfa66d1cc8b0ee871f213234 100644 (file)
@@ -1274,8 +1274,6 @@ split_tree (in, code, conp, litp, negate_p)
      tree *conp, *litp;
      int negate_p;
 {
-  tree orig_in = in;
-  tree type = TREE_TYPE (in);
   tree var = 0;
 
   *conp = 0;
@@ -1353,8 +1351,6 @@ associate_trees (t1, t2, code, type)
      enum tree_code code;
      tree type;
 {
-  tree tem;
-
   if (t1 == 0)
     return t2;
   else if (t2 == 0)
@@ -4276,8 +4272,6 @@ extract_muldiv (t, c, code, wide_type)
                ? wide_type : type);
   tree t1, t2;
   int same_p = tcode == code;
-  int cancel_p
-    = (code == MULT_EXPR && tcode == EXACT_DIV_EXPR)  || tcode == MULT_EXPR;
   tree op0, op1;
 
   /* Don't deal with constants of zero here; they confuse the code below.  */