@@ -15,15 +15,15 @@ tx ftemplate(int n) {
1515 tx a = 0 ;
1616
1717#ifdef TARGET
18- // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause}}
18+ // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause; modifier ignored }}
1919#endif
2020 #pragma omp parallel num_threads(strict: tx(20)) severity(fatal) message("msg")
2121 {
2222 }
2323
2424 short b = 1 ;
2525#ifdef TARGET
26- // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause}}
26+ // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause; modifier ignored }}
2727#endif
2828 #pragma omp parallel num_threads(strict: b) severity(warning) message("msg")
2929 {
@@ -39,14 +39,14 @@ static
3939int fstatic (int n) {
4040
4141#ifdef TARGET
42- // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause}}
42+ // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause; modifier ignored }}
4343#endif
4444 #pragma omp target parallel num_threads(strict: n) message("msg")
4545 {
4646 }
4747
4848#ifdef TARGET
49- // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause}}
49+ // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause; modifier ignored }}
5050#endif
5151 #pragma omp target parallel num_threads(strict: 32+n) severity(warning)
5252 {
@@ -64,15 +64,15 @@ struct S1 {
6464 int b = 1 ;
6565
6666#ifdef TARGET
67- // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause}}
67+ // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause; modifier ignored }}
6868#endif
6969 #pragma omp parallel num_threads(strict: n-b) severity(warning) message("msg")
7070 {
7171 this ->a = (double )b + 1.5 ;
7272 }
7373
7474#ifdef TARGET
75- // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause}}
75+ // expected-warning@+2 {{modifier 'strict' is currently not supported on a GPU for the 'num_threads' clause; modifier ignored }}
7676#endif
7777 #pragma omp parallel num_threads(strict: 1024) severity(fatal)
7878 {
0 commit comments