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
/
fehler092.c
1
/* fehler92: localopt messing up const/tarval modes */
2
#include <stdio.h>
3
4
int main(int argc, char **argv)
5
{
6
unsigned int x;
7
int y = 3;
8
9
if(argc > 1) {
10
rand();
11
x = 20;
12
} else {
13
x = 10;
14
}
15
y <<= x;
16
17
printf("Res: %d\n", y);
18
return 0;
19
}