Lines Matching refs:shared
21 static float S2s; // expected-note 2 {{static data member is predetermined as shared}}
166 #pragma omp for reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
197 #pragma omp parallel shared(i)
203 #pragma omp for reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}}
207 #pragma omp for reduction(+ : qa[1], get()[0]) // expected-error 2 {{reduction variable must be shared}} expected-error {{expected variable name as a base of the array subscript}}
210 #pragma omp parallel shared(qa)
215 #pragma omp for reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}}
323 #pragma omp for reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
362 #pragma omp parallel shared(i)
368 #pragma omp for reduction(+ : fl) // expected-error {{reduction variable must be shared}}
372 #pragma omp for reduction(+ : argv[1], get()[0]) // expected-error {{reduction variable must be shared}} expected-error {{expected variable name as a base of the array subscript}}
375 #pragma omp parallel shared(qa)
380 #pragma omp for reduction(+ : fl) // expected-error {{reduction variable must be shared}}