From 3258e9961c0c10b625cf1bcaf7dec24a5c722f45 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 21 Nov 2001 23:41:40 +0000 Subject: function.c (keep_stack_depressed): Major rework. * function.c (keep_stack_depressed): Major rework. (handle_epilogue_set, emit_equiv_load): New functions. (thread_prologue_and_epilogue_insns): keep_stack_depressed now has return value. * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P. * rtl.h (SET_IS_RETURN_P): New macro. From-SVN: r47250 --- gcc/jump.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/jump.c') diff --git a/gcc/jump.c b/gcc/jump.c index c886aca..4ef0c48 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -1244,7 +1244,9 @@ returnjump_p_1 (loc, data) void *data ATTRIBUTE_UNUSED; { rtx x = *loc; - return x && GET_CODE (x) == RETURN; + + return x && (GET_CODE (x) == RETURN + || (GET_CODE (x) == SET && SET_IS_RETURN_P (x))); } int -- cgit v1.1