URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080424-1.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/36008 */ extern void abort (void); int g[48][3][3]; void __attribute__ ((noinline)) bar (int x[3][3], int y[3][3]) { static int i; if (x != g[i + 8] || y != g[i++]) abort (); } static inline void __attribute__ ((always_inline)) foo (int x[][3][3]) { int i; for (i = 0; i < 8; i++) { int k = i + 8; bar (x[k], x[k - 8]); } } int main () { foo (g); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log