On January 22, 2018 8:50:44 PM GMT+01:00, David Malcolm <dmalc...@redhat.com> wrote: >r232820 (aka 2c7b2f8860794cc9b9cf5eeea9d7dc109c0de3be) removed the >implementation of class move_computations_dom_walker, but kept the >decl. > >This patch removes the stray decl. > >Successfully bootstrapped®rtested on x86_64-pc-linux-gnu. >OK for trunk?
OK. Richard. >gcc/ChangeLog: > PR tree-optimization/69452 > * tree-ssa-loop-im.c (class move_computations_dom_walker): Remove >decl. >--- > gcc/tree-ssa-loop-im.c | 11 ----------- > 1 file changed, 11 deletions(-) > >diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c >index 7864fbd..4655766 100644 >--- a/gcc/tree-ssa-loop-im.c >+++ b/gcc/tree-ssa-loop-im.c >@@ -1081,17 +1081,6 @@ invariantness_dom_walker::before_dom_children >(basic_block bb) > return NULL; > } > >-class move_computations_dom_walker : public dom_walker >-{ >-public: >- move_computations_dom_walker (cdi_direction direction) >- : dom_walker (direction), todo_ (0) {} >- >- virtual edge before_dom_children (basic_block); >- >- unsigned int todo_; >-}; >- >/* Hoist the statements in basic block BB out of the loops prescribed >by >data stored in LIM_DATA structures associated with each statement. >Callback > for walk_dominator_tree. */