This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: will multi-register returns get fixed?
- From: Michael Matz <matz at suse dot de>
- To: davidm at hpl dot hp dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 6 Jun 2003 23:57:39 +0200 (CEST)
- Subject: Re: will multi-register returns get fixed?
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.