diff options
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/lcm.c | 4 | ||||
-rw-r--r-- | gcc/sched-deps.c | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 053e6e80582..8ff77809fc9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-06-08 Andreas Jaeger <aj@suse.de> + + * lcm.c (optimize_mode_switching): Add unused attribute for + variable. + + * sched-deps.c (sched_analyze): Remove unused variable. + 2002-06-08 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.def: Don't capitalize diagnostict descriptors. @@ -35,7 +42,7 @@ 2002-06-07 Jeff Law <law@redhat.com * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx. - * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather + * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather than creating a new register. (distribute_notes): Likewise. * df.c (df_reg_use_gen): Likewise. diff --git a/gcc/lcm.c b/gcc/lcm.c index 3d4ccc9bb58..314d7a0c6fc 100644 --- a/gcc/lcm.c +++ b/gcc/lcm.c @@ -1,5 +1,5 @@ /* Generic partial redundancy elimination with lazy code motion support. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -1024,7 +1024,7 @@ optimize_mode_switching (file) int n_entities; int max_num_modes = 0; bool emited = false; - basic_block post_entry, pre_exit ATTRIBUTE_UNUSED; + basic_block post_entry ATTRIBUTE_UNUSED, pre_exit ATTRIBUTE_UNUSED; clear_bb_flags (); diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 644f1bdbd1f..985559fc970 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -1236,7 +1236,7 @@ sched_analyze (deps, head, tail) for (insn = head;; insn = NEXT_INSN (insn)) { - rtx link, end_seq, r0, set, note; + rtx link, end_seq, r0, set; if (GET_CODE (insn) == INSN || GET_CODE (insn) == JUMP_INSN) { |