summaryrefslogtreecommitdiff
path: root/gcc/loop-invariant.c
diff options
context:
space:
mode:
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-12 05:51:02 +0000
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-12 05:51:02 +0000
commit7d04722c29ed2d2d0e5c7dccc40e915c49da9cce (patch)
treef81ffd2499193ee5de7e406cb262ddcdb7921622 /gcc/loop-invariant.c
parent0d42c4e19d4c735e6cfd44d3577d6a4e2e986cea (diff)
downloadgcc-7d04722c29ed2d2d0e5c7dccc40e915c49da9cce.tar.gz
2004-09-12 Toon Moene <toon@moene.indiv.nluug.nl>
* 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
Diffstat (limited to 'gcc/loop-invariant.c')
-rw-r--r--gcc/loop-invariant.c11
1 files changed, 0 insertions, 11 deletions
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;