aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-06-08 16:06:55 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2002-06-08 16:06:55 +0200
commit272cdf589d977f2e80314649ab85581722f3ebcb (patch)
treeba1959edbe7411756335dbb8b14938758afd964f /gcc
parent4e4bcb4e862dcb4c79fa67c5ecc054951bbfe40b (diff)
downloadgcc-272cdf589d977f2e80314649ab85581722f3ebcb.zip
gcc-272cdf589d977f2e80314649ab85581722f3ebcb.tar.gz
gcc-272cdf589d977f2e80314649ab85581722f3ebcb.tar.bz2
lcm.c (optimize_mode_switching): Add unused attribute for variable.
* lcm.c (optimize_mode_switching): Add unused attribute for variable. * sched-deps.c (sched_analyze): Remove unused variable. From-SVN: r54372
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/lcm.c4
-rw-r--r--gcc/sched-deps.c2
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 053e6e8..8ff77809 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 3d4ccc9..314d7a0 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 644f1bd..985559f 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)
{