diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-08-09 14:00:21 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-08-09 14:00:21 +0000 |
commit | 49ad7cfa7ac804b56cff13d70022020126f24c55 (patch) | |
tree | 0c9ea6c13240638f450e4b7c92af4127356208c0 /gcc/config/sparc/sparc.c | |
parent | 0dde4175efc346c70069a8a090590d3e63be04fa (diff) | |
download | gcc-49ad7cfa7ac804b56cff13d70022020126f24c55.zip gcc-49ad7cfa7ac804b56cff13d70022020126f24c55.tar.gz gcc-49ad7cfa7ac804b56cff13d70022020126f24c55.tar.bz2 |
Include function.h in most files.
Include function.h in most files. Remove most of the global variables
duplicated in function.h. Add accessor macros for them which access
current_function. Delete INLINE_HEADER rtx and related code, replace
with code using struct function to store inlining related data.
From-SVN: r28626
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r-- | gcc/config/sparc/sparc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 1d3bbc7..067680b 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -34,6 +34,7 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "insn-attr.h" #include "flags.h" +#include "function.h" #include "expr.h" #include "recog.h" #include "toplev.h" @@ -2674,7 +2675,7 @@ mem_min_alignment (mem, desired) /* Check if the compiler has recorded some information about the alignment of the base REG. If reload has completed, we already matched with proper alignments. */ - if (((regno_pointer_align != NULL + if (((current_function != 0 && REGNO_POINTER_ALIGN (regno) >= desired) || reload_completed) && ((INTVAL (offset) & (desired - 1)) == 0)) |