diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-11-02 21:19:36 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-11-02 21:19:36 +0000 |
commit | 0dbd1c7442aeabc3e63daf6f70f8fb136f0cf38e (patch) | |
tree | 46fe768360493f03f7282d07762e7b26c292aabd /gcc/local-alloc.c | |
parent | 638d2d6c66cb82345c84b92a46ebf9445c56204c (diff) | |
download | gcc-0dbd1c7442aeabc3e63daf6f70f8fb136f0cf38e.tar.gz |
Update mainline egcs to gcc2 snapshot 971021.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index ce7b4b9f405..ab7fc98f39d 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -59,8 +59,8 @@ Boston, MA 02111-1307, USA. */ register is used as a spill register. So we don't allocate such pseudos here if their preferred class is likely to be used by spills. */ -#include <stdio.h> #include "config.h" +#include <stdio.h> #include "rtl.h" #include "flags.h" #include "basic-block.h" @@ -695,6 +695,9 @@ memref_referenced_p (memref, x) return 1; return memref_referenced_p (memref, SET_SRC (x)); + + default: + break; } fmt = GET_RTX_FORMAT (code); @@ -758,13 +761,11 @@ optimize_reg_copy_1 (insn, dest, src) int sregno = REGNO (src); int dregno = REGNO (dest); + /* We don't want to mess with hard regs if register classes are small. */ if (sregno == dregno -#ifdef SMALL_REGISTER_CLASSES - /* We don't want to mess with hard regs if register classes are small. */ || (SMALL_REGISTER_CLASSES && (sregno < FIRST_PSEUDO_REGISTER || dregno < FIRST_PSEUDO_REGISTER)) -#endif /* We don't see all updates to SP if they are in an auto-inc memory reference, so we must disallow this optimization on them. */ || sregno == STACK_POINTER_REGNUM || dregno == STACK_POINTER_REGNUM) |