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

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

Re: [avr-gcc-list] Is "noreturn" attribute still not supported?


From: Lin Gu
Subject: Re: [avr-gcc-list] Is "noreturn" attribute still not supported?
Date: Mon, 24 Jan 2005 01:54:31 -0500

I actually dynamically generate the code in g() or the
code labeled after G at run time. So I cannot write
it statically that way.

The bottom line is that g() needs to know an
address to JMP to. I assume I cannot use
a label like F outside a
function where it is defined. Hence I need a
function. This is why I need to have a function
that is compiled with 'noreturn' attribute.

Without "noreturn", I have to write the function
completely in assembly code.

lin
--
Lin Gu
University of Virginia


reply via email to

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