will multi-register returns get fixed?

Michael Matz matz@suse.de
Fri Jun 6 22:13:00 GMT 2003


Hi,

On Fri, 6 Jun 2003, David Mosberger wrote:

> Argh, that's bad.  I assume most RISC platforms would be affected,
> too, though, right? (I'm pretty sure Alpha would be affected.)

I think so yes.  At least RETURN_IN_MEMORY and DEFAULT_PCC_STRUCT_RETURN
indicate that.

> So, on the platforms that _can_ return (small) structures in
> registers, is this something that can be fixed?  Or do the GCC
> developers just not care enough about this case?

Look look, mommy.  They made -freg-struct-return to me ;-)

But beware, this changes the ABI!


Ciao,
Michael.



More information about the Gcc mailing list