URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080813-1.c] - Rev 801
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