diff options
author | Andrew Pinski <apinski@apple.com> | 2004-01-23 22:41:20 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-01-23 14:41:20 -0800 |
commit | bbf294a55bdf729cdb7acdd127a248153b77203b (patch) | |
tree | 94cd4732e7a698ae773ead4ff20919ece17bb3eb | |
parent | a475bff7f8977cfe907f6bc13e7c5e7b5c607d12 (diff) | |
download | gcc-bbf294a55bdf729cdb7acdd127a248153b77203b.zip gcc-bbf294a55bdf729cdb7acdd127a248153b77203b.tar.gz gcc-bbf294a55bdf729cdb7acdd127a248153b77203b.tar.bz2 |
rs6000.md (call): Fix misappiled patch.
2004-01-23 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.md (call): Fix misappiled patch.
(call_value): Likewise.
From-SVN: r76462
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b080efc..88238c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 0851232..8321062 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) { |