Lines Matching full:reduction
31 #pragma omp sections reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when used… in xxx()
47 #pragma omp sections reduction(+:ref) in foobar()
126 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}} in tmain()
131 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warn… in tmain()
136 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{mi… in tmain()
141 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ign… in tmain()
146 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{m… in tmain()
151 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ig… in tmain()
156 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{… in tmain()
161 #pragma omp sections reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match… in tmain()
166 #pragma omp sections reduction(| : argc, // expected-error {{expected expression}} expected-error {… in tmain()
171 #pragma omp sections reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name, … in tmain()
176 …reduction(foo : argc) //omp45-error {{incorrect reduction identifier, expected one of '+', '-', '*… in tmain()
181 #pragma omp sections reduction(&& : argc) allocate , allocate(, allocate(omp_default , allocate(omp… in tmain()
186 #pragma omp sections reduction(^ : T) // expected-error {{'T' does not refer to a value}} in tmain()
191 …reduction(+ : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}}… in tmain()
196 …reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'… in tmain()
201 #pragma omp sections reduction(max : h.b) // expected-error {{expected variable name, array element… in tmain()
206 #pragma omp sections reduction(+ : ba) // expected-error {{const-qualified variable cannot be reduc… in tmain()
211 #pragma omp sections reduction(* : ca) // expected-error {{const-qualified variable cannot be reduc… in tmain()
216 …reduction(- : da) // expected-error 2 {{const-qualified variable cannot be reduction}} omp52-warni… in tmain()
221 #pragma omp sections reduction(^ : fl) // expected-error {{invalid operands to binary expression ('… in tmain()
226 #pragma omp sections reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reductio… in tmain()
231 #pragma omp sections reduction(&& : S2::S2sc) // expected-error {{const-qualified variable cannot b… in tmain()
236 #pragma omp sections reduction(+ : h, k) // expected-error {{threadprivate or thread local variable… in tmain()
241 #pragma omp sections reduction(+ : o, z) // expected-error 2 {{no viable overloaded '='}} in tmain()
246 …agma omp sections private(i), reduction(+ : j), reduction(+ : q) // expected-error 4 {{argument of… in tmain()
251 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP cl… in tmain()
256 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{variable can appear o… in tmain()
261 #pragma omp sections reduction(+ : r) // expected-error 2 {{const-qualified variable cannot be redu… in tmain()
266 #pragma omp parallel reduction(min : i) in tmain()
267 #pragma omp sections reduction(max : j) // expected-error 2 {{argument of OpenMP clause 'reduction'… in tmain()
272 #pragma omp sections reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}} in tmain()
276 #pragma omp parallel reduction(* : fl) // expected-note 2 {{defined as reduction}} in tmain()
277 #pragma omp sections reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}} in tmain()
306 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}} in main()
311 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warn… in main()
316 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{mi… in main()
321 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ign… in main()
326 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{m… in main()
331 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ig… in main()
336 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{… in main()
341 …reduction(foo : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} omp45-… in main()
346 #pragma omp sections reduction(| : argc, // expected-error {{expected expression}} expected-error {… in main()
351 #pragma omp sections reduction(|| : argc > 0 ? argv[1] : argv[2]) // expected-error {{expected vari… in main()
356 #pragma omp sections reduction(~ : argc) // expected-error {{expected unqualified-id}} in main()
361 #pragma omp sections reduction(&& : argc, z) in main()
366 #pragma omp sections reduction(^ : S1) // expected-error {{'S1' does not refer to a value}} in main()
371 …reduction(+ : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}}… in main()
376 …reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'… in main()
381 #pragma omp sections reduction(max : h.b) // expected-error {{expected variable name, array element… in main()
386 #pragma omp sections reduction(+ : ba) // expected-error {{const-qualified variable cannot be reduc… in main()
391 #pragma omp sections reduction(* : ca) // expected-error {{const-qualified variable cannot be reduc… in main()
396 …reduction(- : da) // expected-error {{const-qualified variable cannot be reduction}} omp52-warning… in main()
401 #pragma omp sections reduction(^ : fl) // expected-error {{invalid operands to binary expression ('… in main()
406 #pragma omp sections reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reductio… in main()
411 #pragma omp sections reduction(&& : S2::S2sc) // expected-error {{const-qualified variable cannot b… in main()
416 #pragma omp sections reduction(& : e, g) // expected-error {{calling a private constructor of class… in main()
421 #pragma omp sections reduction(+ : h, k, B::x) // expected-error 2 {{threadprivate or thread local … in main()
426 #pragma omp sections reduction(+ : o) // expected-error {{no viable overloaded '='}} in main()
431 …agma omp sections private(i), reduction(+ : j), reduction(+ : q) // expected-error 2 {{argument of… in main()
436 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP cl… in main()
441 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error {{variable can appear onl… in main()
446 #pragma omp sections reduction(+ : r) // expected-error {{const-qualified variable cannot be reduct… in main()
451 #pragma omp parallel reduction(min : i) in main()
452 #pragma omp sections reduction(max : j) // expected-error {{argument of OpenMP clause 'reduction' m… in main()
457 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}} in main()
461 #pragma omp parallel reduction(* : fl) // expected-note {{defined as reduction}} in main()
462 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}} in main()
467 #pragma omp sections reduction(+ : m) // OK in main()
471 #pragma omp sections reduction(task, + : m) // omp45-error 2 {{expected expression}} omp45-warning … in main()