This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] ARM: __attribute__ ((reg_return))
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
CodeSourcery