URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [961206-1.c] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
int sub1 (unsigned long long i) { if (i < 0x80000000) return 1; else return 0; } int sub2 (unsigned long long i) { if (i <= 0x7FFFFFFF) return 1; else return 0; } int sub3 (unsigned long long i) { if (i >= 0x80000000) return 0; else return 1; } int sub4 (unsigned long long i) { if (i > 0x7FFFFFFF) return 0; else return 1; } main() { if (sub1 (0x80000000ULL)) abort (); if (sub2 (0x80000000ULL)) abort (); if (sub3 (0x80000000ULL)) abort (); if (sub4 (0x80000000ULL)) abort (); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log