> -----Original Message-----
> From: Georg-Johann Lay [mailto:a...@gjlay.de]
> Sent: Monday, January 30, 2012 4:34 AM
> To: Weddington, Eric
> Cc: Bill Westfield; avr-gcc-list@nongnu.org
> Subject: Re: [avr-gcc-list] Weird optimization issue with avr-gcc
4.5.3, re
> "naked."
> 
> Weddington, Eric wrote:
> > The main function should still be set up as a "OS_main" function,
i.e.
> > it doesn't return anywhere.
> 
> From how I understand OS_main and from the sources, there is nothing
that adds
> noreturn semantics to OS_main. It's the same as OS_task except that
OS_main
> assumes that IRQs are off. In particular, OS_main functions will have
an
> epilogue.

Oh, my apologies then. It's been a while since I looked as OS_main and I
mistakenly thought it did that.

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to