comparison gcc/testsuite/c-c++-common/gomp/pr91401-2.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 #pragma omp declare target
2 void f0 (void);
3
4 void
5 f1 (void)
6 {
7 int i;
8 #pragma omp distribute dist_schedule(static) dist_schedule(static) /* { dg-warning "too many 'dist_schedule' clauses" } */
9 for (i = 0; i < 8; ++i)
10 f0 ();
11 #pragma omp distribute dist_schedule(static,2) dist_schedule(static,4) /* { dg-warning "too many 'dist_schedule' clauses" } */
12 for (i = 0; i < 8; ++i)
13 f0 ();
14 }
15 #pragma omp end declare target