reload1.c (indirect_symref_ok, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 23 Mar 2005 00:34:27 +0000 (00:34 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 23 Mar 2005 00:34:27 +0000 (00:34 +0000)
* reload1.c (indirect_symref_ok, reload_obstack): Make them
static.
* reload.h: Remove the prototype for indirect_symref_ok.

From-SVN: r96911

gcc/ChangeLog
gcc/reload.h
gcc/reload1.c

index 2f7a329..f1830ad 100644 (file)
@@ -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
index 1c5463d..182a857 100644 (file)
@@ -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;
 
index 31407b3..5a044f6 100644 (file)
@@ -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.  */