Lines Matching full:reduction
31 #pragma omp teams reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when used he… in xxx()
45 #pragma omp teams reduction(+:ref) in foobar()
122 #pragma omp teams reduction // expected-error {{expected '(' after 'reduction'}} in tmain()
125 #pragma omp teams reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning… in tmain()
128 #pragma omp teams reduction( // expected-error {{expected unqualified-id}} expected-warning {{missi… in tmain()
131 #pragma omp teams reduction(- // expected-warning {{missing ':' after reduction identifier - ignori… in tmain()
134 #pragma omp teams reduction() // expected-error {{expected unqualified-id}} expected-warning {{miss… in tmain()
137 #pragma omp teams reduction(*) // expected-warning {{missing ':' after reduction identifier - ignor… in tmain()
140 #pragma omp teams reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{mis… in tmain()
143 #pragma omp teams reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match th… in tmain()
146 #pragma omp teams reduction(| : argc, // expected-error {{expected expression}} expected-error {{ex… in tmain()
149 #pragma omp teams reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name, arr… in tmain()
152 …reduction(foo : argc) //omp45-error {{incorrect reduction identifier, expected one of '+', '-', '*… in tmain()
155 #pragma omp teams reduction(&& : argc) allocate , allocate(, allocate(omp_default , allocate(omp_de… in tmain()
158 #pragma omp teams reduction(^ : T) // expected-error {{'T' does not refer to a value}} in tmain()
161 …reduction(+ : z, a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1… in tmain()
164 …reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'… in tmain()
167 #pragma omp teams reduction(max : h.b) // expected-error {{expected variable name, array element or… in tmain()
170 #pragma omp teams reduction(+ : ba) // expected-error {{const-qualified variable cannot be reductio… in tmain()
173 #pragma omp teams reduction(* : ca) // expected-error {{const-qualified variable cannot be reductio… in tmain()
176 …reduction(- : da) // expected-error 2 {{const-qualified variable cannot be reduction}} omp52-warni… in tmain()
179 #pragma omp teams reduction(^ : fl) // expected-error {{invalid operands to binary expression ('flo… in tmain()
182 #pragma omp teams reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}} in tmain()
185 #pragma omp teams reduction(&& : S2::S2sc) // expected-error {{const-qualified variable cannot be r… in tmain()
188 #pragma omp teams reduction(+ : h, k) // expected-error {{threadprivate or thread local variable ca… in tmain()
191 #pragma omp teams reduction(+ : o) // expected-error 2 {{no viable overloaded '='}} in tmain()
194 #pragma omp teams private(i), reduction(+ : j), reduction(+ : q) // expected-error 4 {{argument of … in tmain()
198 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP claus… in tmain()
201 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error 2 {{variable can appear only… in tmain()
204 #pragma omp teams reduction(+ : r) // expected-error 2 {{const-qualified variable cannot be reducti… in tmain()
207 #pragma omp parallel reduction(min : i) in tmain()
209 #pragma omp teams reduction(max : j) // expected-error 2 {{argument of OpenMP clause 'reduction' mu… in tmain()
217 #pragma omp teams reduction(+ : fl) in tmain()
221 …reduction(- : fl) // omp52-warning 3 {{minus(-) operator for reductions is deprecated; use + or us… in tmain()
225 #pragma omp teams reduction(+ : fl) in tmain()
252 #pragma omp teams reduction // expected-error {{expected '(' after 'reduction'}} in main()
255 #pragma omp teams reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning… in main()
258 #pragma omp teams reduction( // expected-error {{expected unqualified-id}} expected-warning {{missi… in main()
261 #pragma omp teams reduction(- // expected-warning {{missing ':' after reduction identifier - ignori… in main()
264 #pragma omp teams reduction() // expected-error {{expected unqualified-id}} expected-warning {{miss… in main()
267 #pragma omp teams reduction(*) // expected-warning {{missing ':' after reduction identifier - ignor… in main()
270 #pragma omp teams reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{mis… in main()
273 …reduction(foo : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-… in main()
276 #pragma omp teams reduction(| : argc, // expected-error {{expected expression}} expected-error {{ex… in main()
279 #pragma omp teams reduction(|| : argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variabl… in main()
282 #pragma omp teams reduction(~ : argc) // expected-error {{expected unqualified-id}} in main()
285 #pragma omp teams reduction(&& : argc) in main()
288 #pragma omp teams reduction(^ : S1) // expected-error {{'S1' does not refer to a value}} in main()
291 …reduction(+ : a, b, c, d, f) // expected-error {{incomplete type 'S1' where a complete type is req… in main()
294 …reduction(min : a, b, c, d, f) // expected-error {{incomplete type 'S1' where a complete type is r… in main()
297 #pragma omp teams reduction(max : h.b) // expected-error {{expected variable name, array element or… in main()
300 #pragma omp teams reduction(+ : ba) // expected-error {{const-qualified variable cannot be reductio… in main()
303 #pragma omp teams reduction(* : ca) // expected-error {{const-qualified variable cannot be reductio… in main()
306 …reduction(- : da) // expected-error {{const-qualified variable cannot be reduction}} omp52-warning… in main()
309 #pragma omp teams reduction(^ : fl) // expected-error {{invalid operands to binary expression ('flo… in main()
312 #pragma omp teams reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}} in main()
315 #pragma omp teams reduction(&& : S2::S2sc) // expected-error {{const-qualified variable cannot be r… in main()
318 #pragma omp teams reduction(& : e, g) // expected-error {{calling a private constructor of class 'S… in main()
321 #pragma omp teams reduction(+ : h, k, B::x) // expected-error 2 {{threadprivate or thread local var… in main()
324 #pragma omp teams reduction(+ : z, o) // expected-error {{no viable overloaded '='}} in main()
327 #pragma omp teams private(i), reduction(+ : j), reduction(+ : q) // expected-error 2 {{argument of … in main()
331 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP claus… in main()
334 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error {{variable can appear only o… in main()
337 #pragma omp teams reduction(+ : r) // expected-error {{const-qualified variable cannot be reduction… in main()
340 #pragma omp parallel reduction(min : i) in main()
342 #pragma omp teams reduction(max : j) // expected-error {{argument of OpenMP clause 'reduction' must… in main()
350 #pragma omp teams reduction(+ : fl) in main()
354 …reduction(- : fl) // omp52-warning {{minus(-) operator for reductions is deprecated; use + or user… in main()
358 #pragma omp teams reduction(+ : fl) in main()
362 #pragma omp teams reduction(+ : m) // OK in main()
365 …reduction(task, + : m) // omp45-error 2 {{expected expression}} omp45-warning {{missing ':' after … in main()