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
/
fehler083.c
1
#include <stdio.h>
2
3
/* produces a graph with wrong modes */
4
5
static char parens[] = "=!<,>";
6
static char *p = & parens[2];
7
8
int f(void)
9
{
10
return (p - parens) % 2 ? 42 : 13;
11
}
12
13
int main(void)
14
{
15
printf("Res: %d (should be 13)\n", f());
16
return 0;
17
}