This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: return statement in a function with the naked attribute


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]