1 /* pr39500: autopar fails to parallel */
2 /* origin: nemokingdom@gmail.com(LiFeng) */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops-details" } */
13 for (i
= 0; i
< 10000; i
++)
16 for (i
= 0; i
< 10000; i
++)
18 if (x
[i
] != x
[i
+10000])
25 /* Check that the first loop in parloop got parallelized. */
27 /* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 1 "parloops" } } */