diff options
Diffstat (limited to 'gcc/hw-doloop.c')
-rw-r--r-- | gcc/hw-doloop.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c index 9b59f5ddc6d..5d266387485 100644 --- a/gcc/hw-doloop.c +++ b/gcc/hw-doloop.c @@ -237,7 +237,6 @@ discover_loop (hwloop_info loop, basic_block tail_bb, rtx tail_insn, rtx reg) bool found_tail; unsigned dwork = 0; basic_block bb; - vec<basic_block> works; loop->tail = tail_bb; loop->loop_end = tail_insn; @@ -253,7 +252,7 @@ discover_loop (hwloop_info loop, basic_block tail_bb, rtx tail_insn, rtx reg) loop->head = BRANCH_EDGE (tail_bb)->dest; loop->successor = FALLTHRU_EDGE (tail_bb)->dest; - works.create (20); + stack_vec<basic_block, 20> works; works.safe_push (loop->head); found_tail = false; @@ -340,8 +339,6 @@ discover_loop (hwloop_info loop, basic_block tail_bb, rtx tail_insn, rtx reg) } } } - - works.release (); } /* Analyze the structure of the loops in the current function. Use |