From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: Charles Forsyth Date: Mon, 11 Jul 2011 20:29:04 +0100 To: 9fans@9fans.net In-Reply-To: <759514f5611cac11b1692bce14901b99@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] GNU/Linux/Plan 9 disto Topicbox-Message-UUID: ff47ecc4-ead6-11e9-9d60-3106f5b1d025 >waserror() depends on callee-save. caller-save, and a few other conventions (or rather, no need for more conventions). specifically, it's enough to save the pc and stack. all variables will have the right values on non-zero return from setjmp, regardless of the presence or absence of "volatile", and that return can be done by simply setting the pc and the stack pointer to the values in the jmp_buf.