From: Christoph Mallon Date: Tue, 11 Sep 2007 07:31:30 +0000 (+0000) Subject: fehler75: 64bit comparison gets lowered incorrectly. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=72e89dd141e6f9090270536195585f479437a8f0;p=libfirm fehler75: 64bit comparison gets lowered incorrectly. [r15739] --- diff --git a/ir/be/test/fehler75.c b/ir/be/test/fehler75.c new file mode 100644 index 000000000..f908a2b47 --- /dev/null +++ b/ir/be/test/fehler75.c @@ -0,0 +1,11 @@ +/*$ -fno-inline -fno-if-conv $*/ + +long long k(long long a) +{ + return a < 0 ? -a : a; +} + +int main(void) +{ + printf("%lld\n", k(0x80000000LL)); +}