HI! A test attached is a snippet code from a nimrod compiler. Currenly
tcc fails to compile it rigth.
#include <stdio.h>

typedef long long int NI64;

int main()
{
    NI64 res = 0;
    printf("Test for comparing a INT64 values: ");
    if (res < -2147483648LL) {
	printf("Error: 0 < -2147483648\n");
	return 1;
    }
    else
    if (2147483647LL < res) {
	printf("Error: 2147483647 < 0\n");
	return 2;
    }
    else {
	printf("OK\n");
	return 0;
    }
}
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to