From: Andrew Pinski Date: Fri, 23 Jan 2004 22:41:20 +0000 (+0000) Subject: rs6000.md (call): Fix misappiled patch. X-Git-Tag: releases/gcc-4.0.0~10778 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbf294a55bdf729cdb7acdd127a248153b77203b;p=thirdparty%2Fgcc.git rs6000.md (call): Fix misappiled patch. 2004-01-23 Andrew Pinski * config/rs6000/rs6000.md (call): Fix misappiled patch. (call_value): Likewise. From-SVN: r76462 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b080efc3e300..88238c18d951 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Andrew Pinski + + * config/rs6000/rs6000.md (call): Fix misappiled patch. + (call_value): Likewise. + 2004-01-23 Richard Henderson PR opt/12941 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 0851232209af..832106296691 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10181,7 +10181,7 @@ if (DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_DARWIN) - operands[1] = force_reg (Pmode, operands[1]); + operands[0] = force_reg (Pmode, operands[0]); else if (DEFAULT_ABI == ABI_AIX) { @@ -10229,7 +10229,7 @@ if (DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_DARWIN) - operands[0] = force_reg (Pmode, operands[0]); + operands[1] = force_reg (Pmode, operands[1]); else if (DEFAULT_ABI == ABI_AIX) {