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

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

Re: [avr-gcc-list] Re: [patch #6004] "main-as-normal" patches for GCC


From: David VanHorn
Subject: Re: [avr-gcc-list] Re: [patch #6004] "main-as-normal" patches for GCC
Date: Mon, 2 Mar 2009 17:28:44 -0500


Is there any workable combination of OS_main and the noreturn attribute,
that would prevent the compiler from inserting the _exit function?

In the ideal case six bytes would be saved.

My main() never returns, yet when I apply noreturn I'm told that
main() is returning a value.
 
Does -fstandalone work for this?

reply via email to

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