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/] [20080813-1.c] - Rev 298
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