URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [autopar/] [pr47060.c] - Rev 689
Compare with Previous | Blame | View Log
/* PR tree-optimization/47060 */ /* { dg-do compile } */ /* { dg-options "-O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce" } */ struct S { int n; float *a; }; float foo (struct S *b) { float c, d; int j; for (j = 0; j < b->n; j++) d += b->a[j]; for (j = 0; j < b->n; j++) c += b->a[j]; return d; }