avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] setjmp() - not ordinary function?


From: E. Weddington
Subject: Re: [avr-libc-dev] setjmp() - not ordinary function?
Date: Tue, 24 Jun 2003 22:48:06 GMT

> Good morning!
> 
>    I want to pay attention to possible discrepancy.
> Avr-gcc shows awareness on purpose setjmp(). A 
prologue/epilogue of function, 
> in which there is a call setjmp(), contains 
preservation/restoration of all 
> call-saved registers. Exception make function main() and 
global register 
> variables.
> 
>    Nevertheless, setjmp/longjmp too keeps/restores the 
same registers.
> Restoration of local variables after operation longjmp(), 
certainly is 
> pleasant, but it is no necessary. But loss of changes in 
global registers,
> in my opinion, is inadmissible.
> 
> avr-gcc (GCC) 3.3.1 20030519 (prerelease)
> avr-libc-20030422cvs
> 

Could you write up a bug tracker in the avr-libc project 
page? That way, this issue won't get lost in the cracks.

Thanks
Eric







reply via email to

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