Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!K.GP.CS.CMU.EDU!jgm From: jgm@K.GP.CS.CMU.EDU (John Myers) Newsgroups: comp.lang.c Subject: Re: Volatile is Necessary Message-ID: <1259@PT.CS.CMU.EDU> Date: 30 Mar 88 18:41:22 GMT References: <8107@sol.ARPA> <77200028@uiucdcsp> Sender: netnews@PT.CS.CMU.EDU Organization: System/Technology Development Corp. Lines: 11 Is R. Stallman's reading of the ANSI draft wrong, or isn't it necessary to declare automatic variables as 'volatile' in order to guarantee that their values will be preseved across a setjmp/longjmp? (as otherwise they could be placed in registers) If RMS is right, then the committee botched setjmp/longjmp. -- _.John G. Myers Internet: John.Myers@cs.cmu.edu LoseNet: ...!seismo!hao!wiscvm.wisc.edu!k!nobody