URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr46970.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-options "-Os -ftree-loop-linear" } */ #define N 16 int main1 (int n, int *a) { int i, j; for (i = 0; i < n; i++) for (j = 0; j < n; j++) a[j] = i + n; for (j = 0; j < n; j++) if (a[j] != i + n - 1) __builtin_abort (); return 0; } int main () { int a[N]; main1 (N, a); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log