1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops2-details -fdump-tree-optimized" } */
11 for (i
= 0; i
< N
; i
++)
12 for (j
= 0; j
< N
; j
++)
15 for (i
= 0; i
< N
; i
++)
16 for (j
= 0; j
< N
; j
++)
17 if (x
[i
][j
] != i
+ j
+ 3)
29 /* Check that outer loop is parallelized. */
30 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops2" } } */
31 /* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */