URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [run-id-pr42644.c] - Rev 334
Go to most recent revision | Compare with Previous | Blame | View Log
/* Testcase extracted from test 183.equake in SPEC CPU2000. */ double Ke[2], ds[2]; void foo(double Ke[2], int i, double ds[], int column) { double tt, ts; int j; for (j = 0; j < 2; j++) { ++column; ts = ds[i]; if (i == j) tt = 123; else tt = 0; Ke[column] = Ke[column] + ts + tt; } } int main () { int i, j; ds[0] = 1.0; ds[1] = 1.0; foo(Ke, 0, ds, -1); return (int) Ke[0] != 124; }
Go to most recent revision | Compare with Previous | Blame | View Log