URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080813-1.c] - Rev 826
Compare with Previous | Blame | View Log
/* PR middle-end/37103 */ extern void abort (void); void foo (unsigned short x) { signed char y = -1; if (x == y) abort (); } void bar (unsigned short x) { unsigned char y = -1; if (x == y) abort (); } int main (void) { if (sizeof (int) == sizeof (short)) return 0; foo (-1); if (sizeof (short) > 1) bar (-1); return 0; }