]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-cfg.c (pass_remove_useless): This pass works on trees.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 18 May 2005 20:23:26 +0000 (20:23 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 18 May 2005 20:23:26 +0000 (20:23 +0000)
From-SVN: r99924

gcc/ChangeLog
gcc/tree-cfg.c

index 47332e1b19a34fe324185185af1b759e7492857d..5e0b4534b2ec2e6269b73b244357857e732b7b42 100644 (file)
@@ -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
index c1419827e1fbb1ed0b1b81305d8305940543d2ab..1de855a55dee717cf440c6c31b558e2d71b1e832 100644 (file)
@@ -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 */