another fehler from 176.gcc
authorMatthias Braun <matze@braunis.de>
Fri, 3 Aug 2007 12:22:49 +0000 (12:22 +0000)
committerMatthias 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]

diff --git a/ir/be/test/fehler57.c b/ir/be/test/fehler57.c
new file mode 100644 (file)
index 0000000..459a7b7
--- /dev/null
@@ -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));
+}