URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080813-1.c] - Rev 323
Go to most recent revision | 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; }
Go to most recent revision | Compare with Previous | Blame | View Log