Add transform_to_exit_first_loop_alt dump success message
[official-gcc.git] / gcc / testsuite / gcc.dg / parloops-exit-first-loop-alt-7.c
blob38be2e8fee508647bd10c7f530a52d590608586a
1 /* { dg-do compile } */
2 /* { dg-require-effective-target pthread } */
3 /* { dg-options "-O2 -ftree-parallelize-loops=2 -fdump-tree-parloops-details" } */
5 /* Variable bound, vector addition, signed loop counter, signed bound. */
7 void
8 f (int n, unsigned int *__restrict__ a, unsigned int *__restrict__ b,
9 unsigned int *__restrict__ c)
11 int i;
13 for (i = 0; i < n; ++i)
14 c[i] = a[i] + b[i];
17 /* { dg-final { scan-tree-dump-times "alternative exit-first loop transform succeeded" 1 "parloops" } } */