avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "nake


From: Weddington, Eric
Subject: Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked."
Date: Mon, 30 Jan 2012 07:57:41 -0700


> -----Original Message-----
> From: Georg-Johann Lay [mailto:address@hidden
> Sent: Monday, January 30, 2012 4:34 AM
> To: Weddington, Eric
> Cc: Bill Westfield; address@hidden
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]