From: Matthias Braun Date: Fri, 3 Aug 2007 12:22:49 +0000 (+0000) Subject: another fehler from 176.gcc X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=7bf0e7226488a4d3d98ef065d0669394e05ab76e;p=libfirm another fehler from 176.gcc [r15452] --- diff --git a/ir/be/test/fehler57.c b/ir/be/test/fehler57.c new file mode 100644 index 000000000..459a7b7f5 --- /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)); +}