From 1092636a9f26302fc37bb11fc4ed963a4c4d6c75 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 28 Aug 2008 16:07:56 +0000 Subject: [PATCH] wrong 64bit lowering [r21553] --- ir/be/test/fehler139.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ir/be/test/fehler139.c diff --git a/ir/be/test/fehler139.c b/ir/be/test/fehler139.c new file mode 100644 index 000000000..56eb2b617 --- /dev/null +++ b/ir/be/test/fehler139.c @@ -0,0 +1,12 @@ +#include + +long long test(long *i, int p) { + long long v = *i + (p != 0); + return v; +} + +int main() { + long x = 0xFFFFFFFF; + printf("%llx\n", test(&x, 5)); + return 0; +} -- 2.20.1