This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: return statement in a function with the naked attribute
- From: Ian Lance Taylor <iant at google dot com>
- To: reed kotler <rkotler at mips dot com>
- Cc: gcc at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Thu, 2 May 2013 19:54:09 -0700
- Subject: Re: return statement in a function with the naked attribute
- References: <5182EC4D dot 4070207 at mips dot com>
On Thu, May 2, 2013 at 3:44 PM, reed kotler <rkotler@mips.com> wrote:
> Should a return statement be emitted in a function that has the naked
> attribute.
I vote yes.
> There seems to be some confusion here and apparently disagreement between
> various
> gcc compilers.
Which targets do not generate a return instruction for a naked function?
Ian