projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd196b
)
improved test
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 13 Sep 2007 09:31:23 +0000
(09:31 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 13 Sep 2007 09:31:23 +0000
(09:31 +0000)
[r15777]
ir/be/test/mul2n.c
patch
|
blob
|
history
diff --git
a/ir/be/test/mul2n.c
b/ir/be/test/mul2n.c
index
a6dd646
..
2b6fbc0
100644
(file)
--- a/
ir/be/test/mul2n.c
+++ b/
ir/be/test/mul2n.c
@@
-5,7
+5,9
@@
int a = 0x80000000;
int main(void)
{
- long long x = (long long)a * a;
+ unsigned long long x = 3 * (unsigned long long)a;
+ printf("%lld\n", x);
+ x = (unsigned long long)a * (unsigned long long)a;
printf("%lld\n", x);
return 0;
}