aarch64: Require SVE2 and/or SME2 for SVE FAMINMAX intrinsics
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / pr34610.c
blob232fa18323b0d8dec65b62249f7baead878b158c
1 /* PR gcov-profile/34610 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fprofile-arcs -fopenmp" } */
4 /* { dg-require-profiling "-fprofile-generate" } */
6 extern void bar (int);
7 extern void baz (int) __attribute__((noreturn));
9 void
10 foo (int k)
12 int i;
13 #pragma omp for schedule(dynamic)
14 for (i = 0; i < 10; ++i)
15 bar (i);
16 #pragma omp parallel for schedule(static)
17 for (i = 0; i < 10; ++i)
18 bar (i);
19 #pragma omp parallel for schedule(static, 4)
20 for (i = 0; i < 10; ++i)
21 bar (i);
22 if (k)
23 #pragma omp for schedule(dynamic)
24 for (i = 0; i < 10; ++i)
25 baz (i);
26 #pragma omp parallel
27 for (i = 0; i < 10; ++i)
28 bar (i);