aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-06-10 20:40:39 +0000
committerRichard Henderson <rth@gcc.gnu.org>1999-06-10 13:40:39 -0700
commitd3b6b80cde781b060c73b3f408ff892c8d6a8813 (patch)
treef565aaf7ac61654b73ae91af119edea66e138045 /gcc/reg-stack.c
parenta21f23fc67acde9dc7708a0ac2ed06cbbdedf9cf (diff)
downloadgcc-d3b6b80cde781b060c73b3f408ff892c8d6a8813.zip
gcc-d3b6b80cde781b060c73b3f408ff892c8d6a8813.tar.gz
gcc-d3b6b80cde781b060c73b3f408ff892c8d6a8813.tar.bz2
Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan <khan@xraylith.wisc.edu> * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns. From-SVN: r27475
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 787b5a1..8a27b95 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);
}
}