From: Geoffrey Keating Date: Wed, 18 May 2005 20:23:26 +0000 (+0000) Subject: * tree-cfg.c (pass_remove_useless): This pass works on trees. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=565d8a378f62e7c46273908cbd370873a218808b;p=gcc.git * tree-cfg.c (pass_remove_useless): This pass works on trees. From-SVN: r99924 --- 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 + + * tree-cfg.c (pass_remove_useless): This pass works on trees. + 2005-05-18 Richard Guenther * 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 */