From 7d04722c29ed2d2d0e5c7dccc40e915c49da9cce Mon Sep 17 00:00:00 2001 From: toon Date: Sun, 12 Sep 2004 05:51:02 +0000 Subject: 2004-09-12 Toon Moene * common.opt: Remove flags -fmove-all-movables and -freduce-all-givs. * loop-invariant.c (find_invariants_to_move): Remove all uses of flag_move_all_movables. * loop.c (move_movables): Remove all uses of flag_move_all_movables. (strength_reduce): Remove all uses of flag_reduce_all_givs. * doc/invoke.texi: Remove documentation of flags -fremove-all-movables and -freduce-all-givs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87386 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/loop-invariant.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gcc/loop-invariant.c') diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index 2004dbf1df3..36d5118d135 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -715,17 +715,6 @@ find_invariants_to_move (struct df *df) unsigned i, regs_used, n_inv_uses, regs_needed = 0, new_regs; struct invariant *inv = NULL; - if (flag_move_all_movables) - { - /* This is easy & stupid. */ - for (i = 0; i < VARRAY_ACTIVE_SIZE (invariants); i++) - { - inv = VARRAY_GENERIC_PTR_NOGC (invariants, i); - inv->move = true; - } - return; - } - if (!VARRAY_ACTIVE_SIZE (invariants)) return; -- cgit v1.2.3