aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 47332e1..5e0b453 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 c141982..1de855a 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 */