sibcall.c (skip_copy_to_return_value): Tighten return value copy check.

* sibcall.c (skip_copy_to_return_value): Tighten return value
        copy check.

From-SVN: r45803
This commit is contained in:
Graham Stott 2001-09-25 11:39:35 +00:00 committed by Graham Stott
parent aca0f84e00
commit 87f8b15fd8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-09-25 Graham Stott <grahams@redhat.com>
* sibcall.c (skip_copy_to_return_value): Tighten return value
copy check.
2001-09-24 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (lwa_operand): Address must be word aligned.

View File

@ -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;
}