Commit 98af7219 by Kazu Hirata Committed by Kazu Hirata

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
parent 5983a90e
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
static. static.
* reload.h: Remove the prototype for indirect_symref_ok. * 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> 2005-03-22 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (ashlhi3): Rename to *ashlhi3_n and add a new * config/sh/sh.md (ashlhi3): Rename to *ashlhi3_n and add a new
......
...@@ -182,6 +182,12 @@ extern int reload_n_operands; ...@@ -182,6 +182,12 @@ extern int reload_n_operands;
Used in find_equiv_reg. */ Used in find_equiv_reg. */
extern int reload_first_uid; 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. */ /* Nonzero if an address (plus (reg frame_pointer) (reg ...)) is valid. */
extern char double_reg_address_ok; extern char double_reg_address_ok;
......
...@@ -229,7 +229,7 @@ static char spill_indirect_levels; ...@@ -229,7 +229,7 @@ static char spill_indirect_levels;
/* Nonzero if indirect addressing is supported when the innermost MEM is /* 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 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. */ 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. */ /* Nonzero if an address (plus (reg frame_pointer) (reg ...)) is valid. */
char double_reg_address_ok; char double_reg_address_ok;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment