aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-08 16:19:35 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-08 16:19:35 +0000
commit392c64a09029f3c6bd6deb3ffc5edbca68bd38b2 (patch)
tree2333a75046c0c04999f3968b3d96de8bbae3595f /gcc
parent1ebf768753e73571eab7c681a3e7e8b88d87161d (diff)
downloadgcc-392c64a09029f3c6bd6deb3ffc5edbca68bd38b2.zip
gcc-392c64a09029f3c6bd6deb3ffc5edbca68bd38b2.tar.gz
gcc-392c64a09029f3c6bd6deb3ffc5edbca68bd38b2.tar.bz2
* sched-deps.c (cache_size): Make it static.
From-SVN: r96111
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/sched-deps.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d2e8a8f..3417d33 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -9,6 +9,8 @@
* tree-flow.h: Remove the corresponding prototype. Don't
declare lower_data.
+ * sched-deps.c (cache_size): Make it static.
+
2005-03-08 Julian Brown <julian@codesourcery.com>
* config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 13dd6e7..933d74d 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -76,7 +76,7 @@ static enum reg_pending_barrier_mode reg_pending_barrier;
static bitmap_head *true_dependency_cache;
static bitmap_head *anti_dependency_cache;
static bitmap_head *output_dependency_cache;
-int cache_size;
+static int cache_size;
/* To speed up checking consistency of formed forward insn
dependencies we use the following cache. Another possible solution