setjmp/longjmp question

Henry Spencer henry at utzoo.uucp
Sun Feb 26 11:23:35 AEST 1989


In article <8514 at polyslo.CalPoly.EDU> ttwang at polyslo.CalPoly.EDU (Thomas Wang) writes:
>What I want to know is the behavior of setjmp/longjmp on other machines.
>Would longjmp() clober all local variables if assuming RISC machine, and
>automatic register allocation?

It could.  Furthermore, it could happen on your Sun with future versions
of the compiler.
-- 
The Earth is our mother;       |     Henry Spencer at U of Toronto Zoology
our nine months are up.        | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list