projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use be_put_ignore_regs() instead of duplicating its logic.
[libfirm]
/
ir
/
be
/
test
/
fehler091.c
1
/*$ -fdeconv $*/
2
/* frontend 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
}