setjmp/longjmp question

Karl Heuer karl at haddock.ima.isc.com
Sat Mar 4 07:06:03 AEST 1989


>>>Would longjmp() clober all local variables...
>>It could.
>Even if the local variable is an array?

Yes, even then it could.  For example, an auto array with small dimension
might be cached into registers if all of the associated address arithmetic is
visible to the compiler at compile-time.

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list