tree-ssa-pre.c (compute_avail): Remove local variable val.
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 12 Mar 2005 14:07:53 +0000 (14:07 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 12 Mar 2005 14:07:53 +0000 (14:07 +0000)
* tree-ssa-pre.c (compute_avail): Remove local variable val.
(mark_operand_necessary): Remove local variable ver.

From-SVN: r96336

gcc/ChangeLog
gcc/tree-ssa-pre.c

index deaba068c4af79c1011bc282db1e61ec1a8ac2b5..f766a860a776229372519d2acaba5fe6bb4a0940 100644 (file)
@@ -6,6 +6,9 @@
        * tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable
        removed_phis.
 
+       * tree-ssa-pre.c (compute_avail): Remove local variable val.
+       (mark_operand_necessary): Remove local variable ver.
+
 2005-03-12  Geoffrey Keating  <geoffk@apple.com>
 
        * c-lex.c (c_lex_with_flags): Add parameter to call to 
index 01617ca1a61ac65793a1c4b0a3b98ff6d93ee573..e179f0ce79284fd5affa0f8fdd1ad65493185038 100644 (file)
@@ -1819,9 +1819,8 @@ compute_avail (void)
     {
       if (default_def (param) != NULL)
        {
-         tree val;
          tree def = default_def (param);
-         val = vn_lookup_or_add (def, NULL);
+         vn_lookup_or_add (def, NULL);
          bitmap_insert_into_set (TMP_GEN (ENTRY_BLOCK_PTR), def);
          bitmap_value_insert_into_set (AVAIL_OUT (ENTRY_BLOCK_PTR), def);
        }
@@ -2022,12 +2021,9 @@ static inline void
 mark_operand_necessary (tree op, VEC(tree_on_heap) **worklist)
 {
   tree stmt;
-  int ver;
 
   gcc_assert (op);
 
-  ver = SSA_NAME_VERSION (op);
-
   stmt = SSA_NAME_DEF_STMT (op);
   gcc_assert (stmt);