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
/
fehler091.c
1
/*$ -fdeconv $*/
2
/* fronent sometimes produces 16bit operations which the backend can't handle
3
* correctly (yet)
4
*/
5
#include <stdio.h>
6
7
unsigned int k = 1;
8
9
int main(void)
10
{
11
unsigned short x = k;
12
13
x += 0xffff;
14
x >>= 15;
15
if(x == 0) {
16
printf("ok\n");
17
return 0;
18
} else {
19
printf("bad\n");
20
return 1;
21
}
22
}