|
From: | David Mertens |
Subject: | Re: [Tinycc-devel] bug #47379: Compare bug |
Date: | Mon, 2 May 2016 16:14:27 -0400 |
bug #47379: Compare bug
Please test/confirm on x86-64 (no bug on x86 Linux)
include <stdio.h>
#include <stdint.h>
int main(int argc, char* argv[]) {
printf("%d\n", -2147483648);
printf("%ld\n", -2147483648LL);
printf("%d\n", (1LL) < (-2147483648LL));
return 0;
}
tcc output:
-2147483648
-2147483648
1
gcc output:
-2147483648
-2147483648
0
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |