From: Alan Modra <amodra@bigpond.net.au>
To: Janis Johnson <janis187@us.ibm.com>
Cc: Bob Wilson <bwilson@tensilica.com>, rth@redhat.com, gcc@gcc.gnu.org
Subject: Re: [cft] subreg validation round 2
Date: Thu, 18 Nov 2004 11:40:00 -0000 [thread overview]
Message-ID: <20041118073720.GA21809@bubble.modra.org> (raw)
In-Reply-To: <20041117223128.GA6565@us.ibm.com>
On Wed, Nov 17, 2004 at 02:31:28PM -0800, Janis Johnson wrote:
> That change also causes several new test failures for powerpc64-linux
> with -m64, which now ICE in gen_lowpart_common for a BLKmode argument.
Fixed like this
* config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
Bootstrapped and regression tested powerpc64-linux. I also ran the
compat testsuite against my system compiler, and found no problems apart
from a few tests that failed with an ICE on mainline
expand_expr_addr_expr_1, at expr.c:6067
and scalar-by-value-7 failing due to my system compiler doing the wrong
thing..
diff -urp gcc-rth/gcc/config/rs6000/rs6000.c gcc-rth2/gcc/config/rs6000/rs6000.c
--- gcc-rth/gcc/config/rs6000/rs6000.c 2004-11-17 13:59:18.000000000 +1030
+++ gcc-rth2/gcc/config/rs6000/rs6000.c 2004-11-18 10:51:37.796602798 +1030
@@ -5528,6 +5528,9 @@ function_arg (CUMULATIVE_ARGS *cum, enum
if (TARGET_32BIT && TARGET_POWERPC64)
return rs6000_mixed_function_arg (mode, type, align_words);
+ if (mode == BLKmode)
+ mode = Pmode;
+
return gen_rtx_REG (mode, GP_ARG_MIN_REG + align_words);
}
else
--
Alan Modra
IBM OzLabs - Linux Technology Centre
next prev parent reply other threads:[~2004-11-18 7:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-17 18:58 Richard Henderson
2004-11-17 19:20 ` Bob Wilson
2004-11-17 19:58 ` Richard Henderson
2004-11-18 1:06 ` Alan Modra
2004-11-18 2:43 ` Bob Wilson
2004-11-18 16:23 ` Richard Sandiford
2004-11-19 21:39 ` Richard Henderson
2004-11-22 20:40 ` Richard Henderson
2004-11-17 22:32 ` Janis Johnson
2004-11-17 23:05 ` Andrew Pinski
2004-11-18 11:40 ` Alan Modra [this message]
2004-11-17 19:46 ` Eric Botcazou
2004-11-19 21:50 ` Richard Henderson
2004-11-19 22:43 ` Eric Botcazou
2004-11-19 22:46 ` Richard Henderson
2004-11-18 23:43 ` Kaz Kojima
2004-11-19 0:08 ` Janis Johnson
2004-11-17 19:19 Ulrich Weigand
[not found] <OF12E4E5CC.BDFB0F1C-ON41256F4F.0067F055-41256F4F.00682968@LocalDomain>
2004-11-17 21:42 ` Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041118073720.GA21809@bubble.modra.org \
--to=amodra@bigpond.net.au \
--cc=bwilson@tensilica.com \
--cc=gcc@gcc.gnu.org \
--cc=janis187@us.ibm.com \
--cc=rth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).