diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154bbc05dedc..a17aa87c895f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 9 11:35:20 1999 Richard Henderson + + * reg-stack.c (stack_reg_life_analysis): Use returnjump_p + instead of an explicit test for RETURN. + Tue Mar 9 09:33:16 1999 Kaveh R. Ghazi * Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H). diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 203e1af6007c..014f95240134 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1199,7 +1199,7 @@ stack_reg_life_analysis (first, stackentry) for (block = blocks - 1; --block >= 0;) if (GET_CODE (block_end[block]) == JUMP_INSN - && GET_CODE (PATTERN (block_end[block])) == RETURN) + && returnjump_p (block_end[block])) mark_regs_pat (retvalue, block_out_reg_set+block); /* Mark off the end of last block if we "fall off" the end of the