summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-18 20:23:26 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-18 20:23:26 +0000
commitd468906b53914096be0a460c362ddfa820631963 (patch)
treef363bc986c7ad9642de43c54c6eba1d29a8207aa
parent3b1ca83624b1cf0d582aa0dda9d991414ee6b9ff (diff)
downloadgcc-d468906b53914096be0a460c362ddfa820631963.tar.gz
* tree-cfg.c (pass_remove_useless): This pass works on trees.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99924 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-cfg.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 47332e1b19a..5e0b4534b2e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-18 Geoffrey Keating <geoffk@apple.com>
+
+ * tree-cfg.c (pass_remove_useless): This pass works on trees.
+
2005-05-18 Richard Guenther <rguenth@gcc.gnu.org>
* tree.c (build1_stat): Don't try to handle two-operand
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index c1419827e1f..1de855a55de 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -1992,8 +1992,8 @@ struct tree_opt_pass pass_remove_useless_stmts =
NULL, /* next */
0, /* static_pass_number */
0, /* tv_id */
- PROP_gimple_any, /* properties_required */
- 0, /* properties_provided */
+ PROP_gimple_any | PROP_trees, /* properties_required */
+ PROP_trees, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func, /* todo_flags_finish */