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

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

Re: [avr-libc-dev] [bugs #4101] setjmp/longjmp destroy changes in global


From: E. Weddington
Subject: Re: [avr-libc-dev] [bugs #4101] setjmp/longjmp destroy changes in global registers
Date: Fri, 14 Jan 2005 10:15:02 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Joerg Wunsch wrote:

As Dmitry K. wrote:

As it is now, I'm rather inclined to document that setjmp cannot work
in environments with global register variables (which are a GCC
extension anyway) than touching anything that makes it dependent of
the compiler version.

I would be alright with this too. Using global register variables are usually a bad idea unless absolutely necessary. I'm always amazed when *anything* works with them.

Eric




reply via email to

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