aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/reload.h6
-rw-r--r--gcc/reload1.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f7a329..f1830ad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-22 Kazu Hirata <kazu@cs.umass.edu>
+
+ * reload1.c (indirect_symref_ok, reload_obstack): Make them
+ static.
+ * reload.h: Remove the prototype for indirect_symref_ok.
+
2005-03-22 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (ashlhi3): Rename to *ashlhi3_n and add a new
diff --git a/gcc/reload.h b/gcc/reload.h
index 1c5463d..182a857 100644
--- a/gcc/reload.h
+++ b/gcc/reload.h
@@ -182,12 +182,6 @@ extern int reload_n_operands;
Used in find_equiv_reg. */
extern int reload_first_uid;
-/* Nonzero if indirect addressing is supported when the innermost MEM is
- of the form (MEM (SYMBOL_REF sym)). It is assumed that the level to
- which these are valid is the same as spill_indirect_levels, above. */
-
-extern char indirect_symref_ok;
-
/* Nonzero if an address (plus (reg frame_pointer) (reg ...)) is valid. */
extern char double_reg_address_ok;
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 31407b3..5a044f6 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -229,7 +229,7 @@ static char spill_indirect_levels;
/* Nonzero if indirect addressing is supported when the innermost MEM is
of the form (MEM (SYMBOL_REF sym)). It is assumed that the level to
which these are valid is the same as spill_indirect_levels, above. */
-char indirect_symref_ok;
+static char indirect_symref_ok;
/* Nonzero if an address (plus (reg frame_pointer) (reg ...)) is valid. */
char double_reg_address_ok;
@@ -268,7 +268,7 @@ enum insn_code reload_out_optab[NUM_MACHINE_MODES];
/* This obstack is used for allocation of rtl during register elimination.
The allocated storage can be freed once find_reloads has processed the
insn. */
-struct obstack reload_obstack;
+static struct obstack reload_obstack;
/* Points to the beginning of the reload_obstack. All insn_chain structures
are allocated first. */