From 087719460482df60d28cd36e3afb76cfaea76fc6 Mon Sep 17 00:00:00 2001 From: grahams Date: Tue, 25 Sep 2001 11:39:35 +0000 Subject: * sibcall.c (skip_copy_to_return_value): Tighten return value copy check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45803 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/sibcall.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/sibcall.c') diff --git a/gcc/sibcall.c b/gcc/sibcall.c index f0ffa5280e6..3b9526c13df 100644 --- a/gcc/sibcall.c +++ b/gcc/sibcall.c @@ -159,8 +159,9 @@ skip_copy_to_return_value (orig_insn) if (return_value_pseudo) { - if (SET_DEST (set) == return_value_pseudo) - return insn; + if (SET_DEST (set) == return_value_pseudo + && SET_SRC (set) == softret) + return insn; return orig_insn; } -- cgit v1.2.1