diff options
author | Hiroaki Etoh <etoh@cvs.openbsd.org> | 2003-02-15 11:21:17 +0000 |
---|---|---|
committer | Hiroaki Etoh <etoh@cvs.openbsd.org> | 2003-02-15 11:21:17 +0000 |
commit | 1df10f46b9df58eaebdf24cf04d768df90504ae8 (patch) | |
tree | 750e521688eff182d470718c2c260c1474531078 | |
parent | fd539f2dc64155563df39acad9cf6470dc17ab0b (diff) |
use real registers to propagete frame offset for powerpc.
-rw-r--r-- | gnu/egcs/gcc/protector.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/protector.c b/gnu/egcs/gcc/protector.c index 04d8bed0e45..e867f7faf3a 100644 --- a/gnu/egcs/gcc/protector.c +++ b/gnu/egcs/gcc/protector.c @@ -2190,7 +2190,8 @@ push_frame_in_operand (insn, orig, push_size, boundary) else if (GET_CODE (XEXP (x, 0)) == REG && GET_CODE (XEXP (x, 1)) == REG && fp_equiv[REGNO (XEXP (x, 1))]) - if (reg_renumber[REGNO (XEXP (x, 0))] > 0) + if (REGNO (XEXP (x, 0)) <= LAST_VIRTUAL_REGISTER + || reg_renumber[REGNO (XEXP (x, 0))] > 0) fp_equiv[REGNO (XEXP (x, 0))] = fp_equiv[REGNO (XEXP (x, 1))]; break; |