projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
setjump.c
1
#include <setjmp.h>
2
3
int main(void) {
4
jmp_buf buf;
5
volatile int k = 0;
6
7
int val = setjmp(buf);
8
printf("Val: %d K: %d\n", val, k);
9
10
k = 1;
11
if(val == 0)
12
longjmp(buf, 20);
13
14
return 0;
15
}