summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-06 20:02:46 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-06 20:02:46 +0000
commit522e96bbebe73bbf89854704174ceb64da9267e5 (patch)
treec0c1553785ebdebb29e16562b99c78c33bc33497 /gcc
parent3973824c435113a69d6281235f5f911b71daad8f (diff)
downloadgcc-522e96bbebe73bbf89854704174ceb64da9267e5.tar.gz
* cselib.c (reg_values, reg_values_size): Make them static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cselib.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e2f722bdb7f..1fda61c5a48 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-05 Kazu Hirata <kazu@cs.umass.edu>
+
+ * cselib.c (reg_values, reg_values_size): Make them static.
+
2005-03-06 Zdenek Dvorak <dvorakz@suse.cz>
* cse.c (find_best_addr): Use canon_for_address.
diff --git a/gcc/cselib.c b/gcc/cselib.c
index f453489e12b..351d22d4110 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -101,8 +101,8 @@ static int n_useless_values;
which the register was set; if the mode is unknown or the value is
no longer valid in that mode, ELT will be NULL for the first
element. */
-struct elt_list **reg_values;
-unsigned int reg_values_size;
+static struct elt_list **reg_values;
+static unsigned int reg_values_size;
#define REG_VALUES(i) reg_values[i]
/* The largest number of hard regs used by any entry added to the