diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-08 14:06:55 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-08 14:06:55 +0000 |
commit | 43b8e8ee014635700d823256b106296e48938a48 (patch) | |
tree | ba1959edbe7411756335dbb8b14938758afd964f /gcc | |
parent | 6e8903f6b76e36d894a66d601cf0238b12366cf5 (diff) | |
download | gcc-43b8e8ee014635700d823256b106296e48938a48.tar.gz |
* lcm.c (optimize_mode_switching): Add unused attribute for
variable.
* sched-deps.c (sched_analyze): Remove unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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) { |