7eeb8daa5c
Submitted by: Mustabasic Reuf <reuf.mustabasic@gmail.com> Obtained from: Opensolaris development forum
11 lines
225 B
C
11 lines
225 B
C
--- longjmp.c.orig Wed Aug 31 11:53:48 2005
|
|
+++ longjmp.c Wed Aug 31 11:55:10 2005
|
|
@@ -55,7 +55,7 @@
|
|
int
|
|
benchmark(void *tsd, result_t *res)
|
|
{
|
|
- int i = 0;
|
|
+ volatile int i = 0;
|
|
jmp_buf env;
|
|
|
|
(void) setjmp(env);
|