aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo@gcc.gnu.org>2009-11-24 16:53:17 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2009-11-24 16:53:17 +0000
commit038dc49afffb06ab20dd7bcc1be427fc668e6f80 (patch)
tree6be018fb02b4d16d658f952c905e38c1c1c753d1 /gcc/haifa-sched.c
parent356aaf8b70407acd2057011d0b051e0cadfeda62 (diff)
downloadgcc-038dc49afffb06ab20dd7bcc1be427fc668e6f80.zip
gcc-038dc49afffb06ab20dd7bcc1be427fc668e6f80.tar.gz
gcc-038dc49afffb06ab20dd7bcc1be427fc668e6f80.tar.bz2
[multiple changes]
2009-11-24 Michael Matz <matz@suse.de> * expr.c (set_storage_via_libcall): Fix build_call_expr call. 2009-11-24 David Binderman <dcb314@hotmail.com> * expr.c (store_field): Remove set but not used local variable width_mask. (expand_expr_real_2): Remove treeop2. * gcse.c (update_ld_motion_stores): Remove new_rtx. * haifa-sched.c (max_issue): Remove points. (sched_create_recovery_edges): Remove e. * ira-costs.c (setup_allocno_cover_class_and_costs): Remove mode. From-SVN: r154505
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 7cbe1ec..1f05a72 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -2503,7 +2503,7 @@ int
max_issue (struct ready_list *ready, int privileged_n, state_t state,
int *index)
{
- int n, i, all, n_ready, best, delay, tries_num, points = -1, max_points;
+ int n, i, all, n_ready, best, delay, tries_num, max_points;
int more_issue;
struct choice_entry *top;
rtx insn;
@@ -2593,7 +2593,6 @@ max_issue (struct ready_list *ready, int privileged_n, state_t state,
/* This is the index of the insn issued first in this
solution. */
*index = choice_stack [1].index;
- points = top->n;
if (top->n == max_points || best == all)
break;
}
@@ -4462,7 +4461,6 @@ sched_create_recovery_edges (basic_block first_bb, basic_block rec,
{
rtx label;
rtx jump;
- edge e;
int edge_flags;
/* This is fixing of incoming edge. */
@@ -4473,7 +4471,7 @@ sched_create_recovery_edges (basic_block first_bb, basic_block rec,
else
edge_flags = 0;
- e = make_edge (first_bb, rec, edge_flags);
+ make_edge (first_bb, rec, edge_flags);
label = block_label (second_bb);
jump = emit_jump_insn_after (gen_jump (label), BB_END (rec));
JUMP_LABEL (jump) = label;