aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-01-20 12:30:05 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2010-01-20 12:30:05 +0100
commit1124098bb22cbd60a4cdc18062ea81a79a1e8468 (patch)
tree259c71279a44a29f881a32db911e94525a7fe98c /gcc/haifa-sched.c
parent83a5ef25d3fcf70ca677a6bfe2e94a1302ab7f1a (diff)
downloadgcc-1124098bb22cbd60a4cdc18062ea81a79a1e8468.zip
gcc-1124098bb22cbd60a4cdc18062ea81a79a1e8468.tar.gz
gcc-1124098bb22cbd60a4cdc18062ea81a79a1e8468.tar.bz2
sel-sched.c (create_speculation_check): Remove set but not used variable twin.
* sel-sched.c (create_speculation_check): Remove set but not used variable twin. (try_transformation_cache): Remove set but not used variable ds. (calculate_privileged_insns): Remove set but not used variables cur_insn and min_spec_insn. (find_best_expr): Remove set but not used variable avail_n. * tree-predcom.c (base_names_in_chain_on): Remove set but not used variable e. * cgraphunit.c (assemble_thunk): Remove set but not used variable false_label. * haifa-sched.c (remove_notes): Remove set but not used variable prev. * graphite-clast-to-gimple.c (gloog): Remove set but not used variable new_scop_exit_edge. * decl.c (create_array_type_for_decl): Remove set but not used variable error_msg. Remove break stmts after return stmts. From-SVN: r156072
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 0a85b6e..b7f0cfc 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -1835,27 +1835,22 @@ concat_note_lists (rtx from_end, rtx *to_endp)
void
remove_notes (rtx head, rtx tail)
{
- rtx next_tail, prev, insn, next;
+ rtx next_tail, insn, next;
note_list = 0;
if (head == tail && !INSN_P (head))
return;
next_tail = NEXT_INSN (tail);
- prev = PREV_INSN (head);
for (insn = head; insn != next_tail; insn = next)
{
next = NEXT_INSN (insn);
if (!NOTE_P (insn))
- {
- prev = insn;
- continue;
- }
+ continue;
switch (NOTE_KIND (insn))
{
case NOTE_INSN_BASIC_BLOCK:
- prev = insn;
continue;
case NOTE_INSN_EPILOGUE_BEG: