rs6000.md (call): Fix misappiled patch.
authorAndrew Pinski <apinski@apple.com>
Fri, 23 Jan 2004 22:41:20 +0000 (22:41 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 23 Jan 2004 22:41:20 +0000 (14:41 -0800)
2004-01-23  Andrew Pinski  <apinski@apple.com>

        * config/rs6000/rs6000.md (call): Fix misappiled patch.
        (call_value): Likewise.

From-SVN: r76462

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index b080efc..88238c1 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-23  Andrew Pinski  <apinski@apple.com>
+
+       * config/rs6000/rs6000.md (call): Fix misappiled patch.
+       (call_value): Likewise.
+
 2004-01-23  Richard Henderson  <rth@redhat.com>
 
         PR opt/12941
index 0851232..8321062 100644 (file)
 
       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)
        {
 
       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)
        {