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

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

[avr-libc-dev] [bug #4101] setjmp/longjmp destroy changes in global reg


From: nobody
Subject: [avr-libc-dev] [bug #4101] setjmp/longjmp destroy changes in global registers
Date: Wed, 25 Jun 2003 16:57:54 -0400
User-agent:

=================== BUG #4101: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4101&group_id=2140

Submitted by: None                    Project: AVR C Runtime Library        
Submitted on: Wed 06/25/2003 at 16:57
Category:  Library                    Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Originator Email:  address@hidden
Status:  Open                         

Summary:  setjmp/longjmp destroy changes in global registers

Original Submission:     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 registers r2-r17.
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




No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4101&group_id=2140

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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