From 5983a90e8e796765f599f65e5ed763a8013703af Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 23 Mar 2005 00:34:27 +0000 Subject: [PATCH] reload1.c (indirect_symref_ok, [...]): Make them static. * reload1.c (indirect_symref_ok, reload_obstack): Make them static. * reload.h: Remove the prototype for indirect_symref_ok. From-SVN: r96911 --- gcc/ChangeLog | 6 ++++++ gcc/reload.h | 6 ------ gcc/reload1.c | 4 ++-- 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 + + * reload1.c (indirect_symref_ok, reload_obstack): Make them + static. + * reload.h: Remove the prototype for indirect_symref_ok. + 2005-03-22 Kaz Kojima * 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. */ -- 2.7.4