diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-27 11:37:06 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-27 11:37:06 +0000 |
commit | 6d86fc319921535cf88a9ee19df86940605fc334 (patch) | |
tree | 027be71194c935739a93c1242312d1cda1ae72c6 /gcc/cfgloopmanip.c | |
parent | 53ea50ea0050dbb03b0a34ae5db4e1c6193d2d3d (diff) | |
download | gcc-6d86fc319921535cf88a9ee19df86940605fc334.tar.gz |
* config/i386/i386.c (ix86_emit_restore_sse_regs_using_mov): Remove
unused insn variable.
* genemit.c (output_peephole2_scratches): Only declare and initialize
_regs_allocated if it will be ever used.
* cfgloopmanip.c (create_empty_if_region_on_edge): Remove unused
succ_bb variable.
(create_empty_loop_on_edge): Remove unused freq and cnt variables.
* unwind-c.c (PERSONALITY_FUNCTION): Remove unused action_record
variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index 1c77141af65..459a1fdf2bf 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -541,13 +541,12 @@ edge create_empty_if_region_on_edge (edge entry_edge, tree condition) { - basic_block succ_bb, cond_bb, true_bb, false_bb, join_bb; + basic_block cond_bb, true_bb, false_bb, join_bb; edge e_true, e_false, exit_edge; gimple cond_stmt; tree simple_cond; gimple_stmt_iterator gsi; - succ_bb = entry_edge->dest; cond_bb = split_edge (entry_edge); /* Insert condition in cond_bb. */ @@ -628,8 +627,6 @@ create_empty_loop_on_edge (edge entry_edge, { basic_block loop_header, loop_latch, succ_bb, pred_bb; struct loop *loop; - int freq; - gcov_type cnt; gimple_stmt_iterator gsi; gimple_seq stmts; gimple cond_expr; @@ -659,9 +656,6 @@ create_empty_loop_on_edge (edge entry_edge, add_loop (loop, outer); /* TODO: Fix frequencies and counts. */ - freq = EDGE_FREQUENCY (entry_edge); - cnt = entry_edge->count; - prob = REG_BR_PROB_BASE / 2; scale_loop_frequencies (loop, REG_BR_PROB_BASE - prob, REG_BR_PROB_BASE); |