URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [920721-3.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
static inline fu (unsigned short data) { return data; } ru(i) { if(fu(i++)!=5)abort(); if(fu(++i)!=7)abort(); } static inline fs (signed short data) { return data; } rs(i) { if(fs(i++)!=5)abort(); if(fs(++i)!=7)abort(); } main() { ru(5); rs(5); exit(0); }
Go to most recent revision | Compare with Previous | Blame | View Log