URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20021212-1.c] - Rev 868
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR optimization/8334 */ /* Verify that GCC produces valid operands after simplifying an addition. */ void foo(int m, int n, double *f) { int i, j, k = 1; for (j = 0; j < n; j++) { for (i = k; i < m; i++) { f[i] = (double) (i * j); f[i + j] = (double) ((i + 1) * j); } } }
Go to most recent revision | Compare with Previous | Blame | View Log