projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee0372
)
another fehler from 176.gcc
author
Matthias Braun
<matze@braunis.de>
Fri, 3 Aug 2007 12:22:49 +0000
(12:22 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 3 Aug 2007 12:22:49 +0000
(12:22 +0000)
[r15452]
ir/be/test/fehler57.c
[new file with mode: 0644]
patch
|
blob
diff --git a/ir/be/test/fehler57.c
b/ir/be/test/fehler57.c
new file mode 100644
(file)
index 0000000..
459a7b7
--- /dev/null
+++ b/
ir/be/test/fehler57.c
@@ -0,0
+1,12
@@
+int floor_log2_wide (unsigned int x)
+{
+ int log = -1;
+ while (x != 0)
+ log++, x >>= 1;
+ return log;
+}
+
+int main()
+{
+ printf("Res: %d\n", floor_log2_wide(4294967251));
+}