This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR target/5740
On Fri, Mar 15, 2002 at 01:11:01PM -0800, Richard Henderson wrote:
> On Fri, Mar 15, 2002 at 09:38:27PM +0100, Jakub Jelinek wrote:
> > PR target/5740
> > * expr.c (emit_group_load): Use extract_bit_field if
> > needed for CONCAT arguments.
>
> Hum. I guess this is ok. I wonder about the correctness of the
> sparc backend returning DImode pieces for a DCmode argument though.
Yes, looks like a bug. E.g. __complex__ double is returned in %f0/%f2 pair
while struct X { __complex__ double x; } is returned in %o0/%o1.
Though IMHO the emig_group_load change is desirable anyway.
Jakub