* tree-vrp.c (remove_range_assertions): Release defs.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2007 01:20:40 +0000 (01:20 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2007 01:20:40 +0000 (01:20 +0000)
* tree-ssa-loop-ivopts.c (rmeove_statement): Likewise.
* tree-ssa-dom.c (remove_stmt_or_phi): Likewise.

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

gcc/ChangeLog
gcc/tree-ssa-dom.c
gcc/tree-ssa-loop-ivopts.c
gcc/tree-vrp.c

index 6443a1d..7c04b0c 100644 (file)
@@ -1,3 +1,9 @@
+2007-01-10  Jan Hubicka  <jh@suse.cz>
+
+       * tree-vrp.c (remove_range_assertions): Release defs.
+       * tree-ssa-loop-ivopts.c (rmeove_statement): Likewise.
+       * tree-ssa-dom.c (remove_stmt_or_phi): Likewise.
+
 2007-01-10  Paul Brook  <paul@codesourcery.com>
 
        * config/arm/arm.c (arm_rtx_costs_1): Handle mutiply-subtract.
index 73ddc0a..d890688 100644 (file)
@@ -2109,6 +2109,7 @@ remove_stmt_or_phi (tree t)
     {
       block_stmt_iterator bsi = bsi_for_stmt (t);
       bsi_remove (&bsi, true);
+      release_defs (t);
     }
 }
 
index a11165d..b727ef4 100644 (file)
@@ -4827,6 +4827,7 @@ remove_statement (tree stmt, bool including_defined_name)
       block_stmt_iterator bsi = bsi_for_stmt (stmt);
 
       bsi_remove (&bsi, true);
+      release_defs (stmt); 
     }
 }
 
index ed0a97c..b3cd115 100644 (file)
@@ -3540,6 +3540,7 @@ remove_range_assertions (void)
 
            /* And finally, remove the copy, it is not needed.  */
            bsi_remove (&si, true);
+           release_defs (stmt); 
          }
        else
          bsi_next (&si);