From: Christoph Mallon Date: Mon, 1 Oct 2007 13:07:49 +0000 (+0000) Subject: fehler88: wrong mode_b lowering of unsigned comparisons. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=62ccdf35181e1f2e9dd08842aba669d5acd69fd7;p=libfirm fehler88: wrong mode_b lowering of unsigned comparisons. [r16021] --- diff --git a/ir/be/test/fehler88.c b/ir/be/test/fehler88.c new file mode 100644 index 000000000..460e17b59 --- /dev/null +++ b/ir/be/test/fehler88.c @@ -0,0 +1,12 @@ +/*$ -fno-inline $*/ + +int test(unsigned int a) +{ + return a > 0; +} + +int main(void) +{ + printf("0xFFFFFFFFU > 0 is %d (should be 1)\n", test(0xFFFFFFFFU)); + return 0; +}