[PATCH v2] ARM: __attribute__ ((reg_return))

Daniel Jacobowitz drow@false.org
Tue Sep 11 22:24:00 GMT 2007

On Tue, Sep 11, 2007 at 02:53:56PM -0700, Mark Mitchell wrote:
> It is certainly true that for local functions we should be able to do
> the optimization automatically.  However, here the functions in question
> are not local.  Were you just adding that as an enhancement request, or
> did you mean that you thought Zack should do that instead of the
> attribute approach?

I don't feel that strongly about it.  But I don't think that it's
useful as a type attribute; it's a calling convention attribute,
of which we have several others for functions.

Daniel Jacobowitz

More information about the Gcc-patches mailing list