diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-23 00:39:48 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-23 00:39:48 +0000 |
commit | 98af7219f2d5178717e39895abf3e95087a11eb4 (patch) | |
tree | ff2a0daa2058ddde99f262974dba16f1a1aac9cb /gcc | |
parent | 5983a90e8e796765f599f65e5ed763a8013703af (diff) | |
download | gcc-98af7219f2d5178717e39895abf3e95087a11eb4.zip gcc-98af7219f2d5178717e39895abf3e95087a11eb4.tar.gz gcc-98af7219f2d5178717e39895abf3e95087a11eb4.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/reload.h | 6 | ||||
-rw-r--r-- | gcc/reload1.c | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1830ad..e3dbd08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/reload.h b/gcc/reload.h index 182a857..1c5463d 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -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; diff --git a/gcc/reload1.c b/gcc/reload1.c index 5a044f6..41a2f02 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. */ -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; |