summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-10 20:40:39 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-10 20:40:39 +0000
commit62101960f6abafdc43626b83bd1543fb0c2f5279 (patch)
treef565aaf7ac61654b73ae91af119edea66e138045 /gcc/reg-stack.c
parent01fb6185d10749fd45980e9423656ff95bdedc27 (diff)
downloadgcc-62101960f6abafdc43626b83bd1543fb0c2f5279.tar.gz
Mumit Khan <khan@xraylith.wisc.edu>
* reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27475 138bc75d-0d04-0410-961f-82ee72b054a4
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 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);
}
}