projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cannot output suffix for long double store
[libfirm]
/
ir
/
be
/
test
/
fehler96.c
1
int shrs1(unsigned x) {
2
return -(x >> 31);
3
}
4
5
int shr1(int x) {
6
return -(x >> 31);
7
}
8
9
int main(void)
10
{
11
printf("%d (should be -1)\n", shrs1(-3));
12
printf("%d (should be 1)\n", shr1(-3));
13
printf("%d (should be 0)\n", shrs1(3));
14
printf("%d (should be 0)\n", shr1(3));
15
return 0;
16
}