This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 20030121-1.c fails with -mcpu=G5
On Jan 23, 2004, at 14:11, Andrew Pinski wrote:
On Jan 23, 2004, at 13:37, Dale Johannesen wrote:
On Jan 23, 2004, at 1:03 PM, Fariborz Jahanian wrote:
Noticed that this test ICEs with -mcpu=G5. Is this failure expected?
Is there a PR
for this test case?
Incidentally, this is a new test, and was apparently accidentally
misnamed; should be
20040121-1.c. Suppose this is worth fixing?
I will fix it as it was my fault, I also misapplied my patch to fix
this and I will that also.
Here is the patch which I applied to fix the testcase. The patch was
only
misapplied on the mainline.
Thanks,
Andrew Pinski
2004-01-23 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.md (call): Fix misappiled patch.
(call_value): Likewise.
Index: config/rs6000/rs6000.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.285
diff -u -p -r1.285 rs6000.md
--- config/rs6000/rs6000.md 22 Jan 2004 02:44:34 -0000 1.285
+++ config/rs6000/rs6000.md 23 Jan 2004 22:36:35 -0000
@@ -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)
{