OSDN Git Service

2009-11-26 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2009 13:09:02 +0000 (13:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2009 13:09:02 +0000 (13:09 +0000)
* tree-ssa-dce.c (perform_tree_ssa_dce): Allocate visited bitmap.

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

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

index f493283..dd62dd9 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-26  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-dce.c (perform_tree_ssa_dce): Allocate visited bitmap.
+
 2009-11-26  Nick Clifton  <nickc@redhat.com>
 
        * config/rx/rx.c (rx_expand_epilogue): Add checks for sibcalls
index 8669cdf..0ddda76 100644 (file)
@@ -1377,6 +1377,7 @@ perform_tree_ssa_dce (bool aggressive)
   longest_chain = 0;
   total_chain = 0;
   chain_ovfl = false;
+  visited = BITMAP_ALLOC (NULL);
   propagate_necessity (el);
   BITMAP_FREE (visited);