aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2005-05-18 20:23:26 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2005-05-18 20:23:26 +0000
commit565d8a378f62e7c46273908cbd370873a218808b (patch)
treef363bc986c7ad9642de43c54c6eba1d29a8207aa
parent90b4552881c78f9be7252dee27a357a74428d40e (diff)
downloadgcc-565d8a378f62e7c46273908cbd370873a218808b.zip
gcc-565d8a378f62e7c46273908cbd370873a218808b.tar.gz
gcc-565d8a378f62e7c46273908cbd370873a218808b.tar.bz2
* tree-cfg.c (pass_remove_useless): This pass works on trees.
From-SVN: r99924
-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 */