reload1.c (indirect_symref_ok): Make it global.

* reload1.c (indirect_symref_ok): Make it global.
	* reload.h: Add a prototype for indirect_symref_ok.

From-SVN: r96913
This commit is contained in:
Kazu Hirata 2005-03-23 00:39:48 +00:00 committed by Kazu Hirata
parent 5983a90e8e
commit 98af7219f2
3 changed files with 10 additions and 1 deletions

View File

@ -4,6 +4,9 @@
static.
* reload.h: Remove the prototype for indirect_symref_ok.
* reload1.c (indirect_symref_ok): Make it global.
* reload.h: Add a 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

View File

@ -182,6 +182,12 @@ 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;

View 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. */
static char indirect_symref_ok;
char indirect_symref_ok;
/* Nonzero if an address (plus (reg frame_pointer) (reg ...)) is valid. */
char double_reg_address_ok;