diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b6b5a76ad7..38a6fac5ee0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 10 20:37:57 1999 Mumit Khan + + * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns. + Thu Jun 10 19:23:00 1999 J"orn Rennecke * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 787b5a18032..8a27b9563b6 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1257,7 +1257,7 @@ stack_reg_life_analysis (first, stackentry) function into the epilogue. */ if (GET_CODE (block_end[blocks-1]) != JUMP_INSN - || GET_CODE (PATTERN (block_end[blocks-1])) == RETURN) + || returnjump_p (block_end[blocks-1])) mark_regs_pat (retvalue, block_out_reg_set+blocks-1); } }