|
From: | Georg-Johann Lay |
Subject: | Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked." |
Date: | Mon, 30 Jan 2012 12:34:23 +0100 |
User-agent: | Thunderbird 2.0.0.24 (X11/20100302) |
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. Johann
[Prev in Thread] | Current Thread | [Next in Thread] |