From 1df10f46b9df58eaebdf24cf04d768df90504ae8 Mon Sep 17 00:00:00 2001 From: Hiroaki Etoh Date: Sat, 15 Feb 2003 11:21:17 +0000 Subject: use real registers to propagete frame offset for powerpc. --- gnu/egcs/gcc/protector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3