URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [autopar/] [pr39500-2.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* pr39500: autopar fails to parallel */ /* origin: nemokingdom@gmail.com(LiFeng) */ /* { dg-do compile } */ /* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops-details" } */ int main (void) { int i; int x[1000]; for (i = 0; i < 101; i++) x[i] = x[i+100]; return x[12]; } /* This loop cannot be parallelized due to a dependence. */ /* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 0 "parloops" } } */ /* { dg-final { cleanup-tree-dump "parloops" } } */
Go to most recent revision | Compare with Previous | Blame | View Log