On Thu, May 2, 2013 at 3:46 PM, reed kotler <rkot...@mips.com> wrote: > On 05/02/2013 03:44 PM, reed kotler wrote: >> >> Should a return statement be emitted in a function that has the naked >> attribute. >> >> There seems to be some confusion here and apparently disagreement between >> various >> gcc compilers. >> > Sorry. This was meant to be a question. > > Should a return statement be emitted in a function that has the naked > attribute?
I don't see why there is any confusion about this for interrupt handlers on MIPS (the interrupt attribute being used here). They either use eret or deret which is controlled by the use of the use_debug_exception_return attribute. Thanks, Andrew Pinski > > Tia. > > Reed >