Home | History | Annotate | Download | only in OpenMP

Lines Matching full:shared

20   static float S2s; // expected-note {{static data member is predetermined as shared}}
23 const float S2::S2sc = 0; // expected-note {{static data member is predetermined as shared}}
34 const S3 c; // expected-note {{global variable is predetermined as shared}}
35 const S3 ca[5]; // expected-note {{global variable is predetermined as shared}}
36 extern const int f; // expected-note {{global variable is predetermined as shared}}
127 #pragma omp for lastprivate(i) // expected-error {{lastprivate variable must be shared}}
133 #pragma omp parallel shared(i)
154 const int d = 5; // expected-note {{constant variable is predetermined as shared}}
155 const int da[5] = {0}; // expected-note {{constant variable is predetermined as shared}}
195 #pragma omp for lastprivate(a, b, c, d, f) // expected-error {{lastprivate variable with incomplete type 'S1'}} expected-error 3 {{shared variable cannot be lastprivate}}
211 #pragma omp for lastprivate(ca) // expected-error {{shared variable cannot be lastprivate}}
215 #pragma omp for lastprivate(da) // expected-error {{shared variable cannot be lastprivate}}
224 #pragma omp for lastprivate(S2::S2s) // expected-error {{shared variable cannot be lastprivate}}
228 #pragma omp for lastprivate(S2::S2sc) // expected-error {{shared variable cannot be lastprivate}}
260 #pragma omp for lastprivate(xa) // expected-error {{lastprivate variable must be shared}}
264 #pragma omp for lastprivate(xa) // expected-error {{lastprivate variable must be shared}}