Lines Matching full:expected
3 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp simd'}}
6 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp simd'}}
9 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp simd'}}
18 // expected-error@+2 {{statement after '#pragma omp simd' must be a for loop}} in test_no_clause()
33 goto L1; // expected-error {{use of undeclared label 'L1'}} in test_branch_protected_scope()
35 return; // expected-error {{cannot return from OpenMP region}} in test_branch_protected_scope()
45 goto L2; // expected-error {{use of undeclared label 'L2'}} in test_branch_protected_scope()
52 // expected-warning@+1 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_invalid_clause()
61 // expected-warning@+1 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_non_identifiers()
65 // expected-error@+2 {{unexpected OpenMP clause 'firstprivate' in directive '#pragma omp simd'}} in test_non_identifiers()
66 // expected-warning@+1 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_non_identifiers()
71 // expected-warning@+1 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_non_identifiers()
76 // expected-warning@+1 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_non_identifiers()
85 // expected-error@+1 {{expected '('}} in test_safelen()
89 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_safelen()
93 // expected-error@+1 {{expected expression}} in test_safelen()
97 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_safelen()
101 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {… in test_safelen()
105 // expected-warning@+2 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_safelen()
106 // expected-error@+1 {{expected '('}} in test_safelen()
110 // expected-error@+2 {{expected ')'}} in test_safelen()
111 // expected-note@+1 {{to match this '('}} in test_safelen()
115 // expected-error@+2 {{expected ')'}} in test_safelen()
116 // expected-note@+1 {{to match this '('}} in test_safelen()
120 // expected-error@+2 {{expected ')'}} in test_safelen()
121 // expected-note@+1 {{to match this '('}} in test_safelen()
125 // xxpected-error@+1 {{expected expression}} in test_safelen()
129 // expected-error@+2 {{expected ')'}} in test_safelen()
130 // expected-note@+1 {{to match this '('}} in test_safelen()
134 // expected-error@+2 {{expected ')'}} in test_safelen()
135 // expected-note@+1 {{to match this '('}} in test_safelen()
142 // expected-error@+2 {{expected ')'}} in test_safelen()
143 // expected-note@+1 {{to match this '('}} in test_safelen()
147 // expected-error@+1 {{expression is not an integer constant expression}} in test_safelen()
151 // expected-error@+1 {{expression is not an integer constant expression}} in test_safelen()
155 // expected-error@+1 {{argument to 'safelen' clause must be a strictly positive integer value}} in test_safelen()
159 // expected-error@+1 {{argument to 'safelen' clause must be a strictly positive integer value}} in test_safelen()
163 // expected-error@+1 {{argument to 'safelen' clause must be a strictly positive integer value}} in test_safelen()
171 // expected-error@+1 {{expected '('}} in test_simdlen()
175 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_simdlen()
179 // expected-error@+1 {{expected expression}} in test_simdlen()
183 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_simdlen()
187 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {… in test_simdlen()
191 // expected-warning@+2 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_simdlen()
192 // expected-error@+1 {{expected '('}} in test_simdlen()
196 // expected-error@+2 {{expected ')'}} in test_simdlen()
197 // expected-note@+1 {{to match this '('}} in test_simdlen()
201 // expected-error@+2 {{expected ')'}} in test_simdlen()
202 // expected-note@+1 {{to match this '('}} in test_simdlen()
206 // expected-error@+2 {{expected ')'}} in test_simdlen()
207 // expected-note@+1 {{to match this '('}} in test_simdlen()
214 // expected-error@+2 {{expected ')'}} in test_simdlen()
215 // expected-note@+1 {{to match this '('}} in test_simdlen()
219 // expected-error@+2 {{expected ')'}} in test_simdlen()
220 // expected-note@+1 {{to match this '('}} in test_simdlen()
227 // expected-error@+2 {{expected ')'}} in test_simdlen()
228 // expected-note@+1 {{to match this '('}} in test_simdlen()
232 // expected-error@+1 {{expression is not an integer constant expression}} in test_simdlen()
236 // expected-error@+1 {{expression is not an integer constant expression}} in test_simdlen()
240 // expected-error@+1 {{argument to 'simdlen' clause must be a strictly positive integer value}} in test_simdlen()
244 // expected-error@+1 {{argument to 'simdlen' clause must be a strictly positive integer value}} in test_simdlen()
248 // expected-error@+1 {{argument to 'simdlen' clause must be a strictly positive integer value}} in test_simdlen()
256 // expected-error@+1 {{the value of 'simdlen' parameter must be less than or equal to the value of … in test_safelen_simdlen()
260 // expected-error@+1 {{the value of 'simdlen' parameter must be less than or equal to the value of … in test_safelen_simdlen()
268 // expected-error@+1 {{expected '('}} in test_collapse()
272 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_collapse()
276 // expected-error@+1 {{expected expression}} in test_collapse()
280 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_collapse()
284 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {… in test_collapse()
288 // expected-warning@+2 {{extra tokens at the end of '#pragma omp simd' are ignored}} in test_collapse()
289 // expected-error@+1 {{expected '('}} in test_collapse()
293 // expected-error@+2 {{expected ')'}} in test_collapse()
294 // expected-note@+1 {{to match this '('}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
297 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
298 // expected-error@+2 {{expected ')'}} in test_collapse()
299 // expected-note@+1 {{to match this '('}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
302 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
303 // expected-error@+2 {{expected ')'}} in test_collapse()
304 // expected-note@+1 {{to match this '('}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
307 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
308 // xxpected-error@+1 {{expected expression}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
311 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
312 // expected-error@+2 {{expected ')'}} in test_collapse()
313 // expected-note@+1 {{to match this '('}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
316 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
317 // expected-error@+2 {{expected ')'}} in test_collapse()
318 // expected-note@+1 {{to match this '('}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
321 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
328 // expected-error@+2 {{expected ')'}} in test_collapse()
329 // expected-note@+1 {{to match this '('}} expected-note@+1 {{as specified in 'collapse' clause}} in test_collapse()
332 ; // expected-error {{expected 4 for loops after '#pragma omp simd', but found only 1}} in test_collapse()
333 // expected-error@+1 {{expression is not an integer constant expression}} in test_collapse()
337 // expected-error@+1 {{expression is not an integer constant expression}} in test_collapse()
341 // expected-error@+1 {{argument to 'collapse' clause must be a strictly positive integer value}} in test_collapse()
345 // expected-error@+1 {{argument to 'collapse' clause must be a strictly positive integer value}} in test_collapse()
349 // expected-error@+1 {{argument to 'collapse' clause must be a strictly positive integer value}} in test_collapse()
353 // expected-note@+2 {{defined as reduction}} in test_collapse()
357 …// expected-note@+1 {{variable with automatic storage duration is predetermined as private; perhap… in test_collapse()
359 // expected-error@+2 2 {{reduction variable must be shared}} in test_collapse()
360 // expected-error@+1 {{OpenMP constructs may not be nested inside a simd region}} in test_collapse()
375 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_linear()
379 // expected-error@+2 {{expected expression}} in test_linear()
380 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_linear()
384 // expected-error@+2 {{expected expression}} in test_linear()
385 // expected-error@+1 {{expected expression}} in test_linear()
389 // expected-error@+1 {{expected expression}} in test_linear()
393 // expected-error@+1 {{expected expression}} in test_linear()
397 // expected-error@+1 {{expected variable name}} in test_linear()
401 // expected-error@+1 {{use of undeclared identifier 'x'}} in test_linear()
405 // expected-error@+2 {{use of undeclared identifier 'x'}} in test_linear()
406 // expected-error@+1 {{use of undeclared identifier 'y'}} in test_linear()
410 // expected-error@+3 {{use of undeclared identifier 'x'}} in test_linear()
411 // expected-error@+2 {{use of undeclared identifier 'y'}} in test_linear()
412 // expected-error@+1 {{use of undeclared identifier 'z'}} in test_linear()
418 // expected-error@+1 {{expected expression}} in test_linear()
422 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_linear()
432 // expected-error@+1 {{expected ')'}} expected-note@+1 {{to match this '('}} in test_linear()
436 // expected-error@+1 {{expected ')'}} expected-note@+1 {{to match this '('}} in test_linear()
441 // expected-note@+2 {{defined as linear}} in test_linear()
442 // expected-error@+1 {{linear variable cannot be linear}} in test_linear()
447 // expected-note@+2 {{defined as private}} in test_linear()
448 // expected-error@+1 {{private variable cannot be linear}} in test_linear()
453 // expected-note@+2 {{defined as linear}} in test_linear()
454 // expected-error@+1 {{linear variable cannot be private}} in test_linear()
459 // expected-warning@+1 {{zero linear step (x and other variables in clause should probably be const… in test_linear()
464 // expected-note@+2 {{defined as linear}} in test_linear()
465 // expected-error@+1 {{linear variable cannot be lastprivate}} in test_linear()
470 // expected-note@+2 {{defined as lastprivate}} in test_linear()
471 // expected-error@+1 {{lastprivate variable cannot be linear}} in test_linear()
479 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_aligned()
483 // expected-error@+2 {{expected expression}} in test_aligned()
484 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_aligned()
488 // expected-error@+2 {{expected expression}} in test_aligned()
489 // expected-error@+1 {{expected expression}} in test_aligned()
493 // expected-error@+1 {{expected expression}} in test_aligned()
497 // expected-error@+1 {{expected expression}} in test_aligned()
501 // expected-error@+1 {{expected variable name}} in test_aligned()
505 // expected-error@+1 {{use of undeclared identifier 'x'}} in test_aligned()
509 // expected-error@+2 {{use of undeclared identifier 'x'}} in test_aligned()
510 // expected-error@+1 {{use of undeclared identifier 'y'}} in test_aligned()
514 // expected-error@+3 {{use of undeclared identifier 'x'}} in test_aligned()
515 // expected-error@+2 {{use of undeclared identifier 'y'}} in test_aligned()
516 // expected-error@+1 {{use of undeclared identifier 'z'}} in test_aligned()
521 int *x, y, z[25]; // expected-note 4 {{'y' defined here}} in test_aligned()
528 // expected-error@+1 {{expected expression}} in test_aligned()
532 // expected-error@+1 {{expected expression}} expected-error@+1 {{expected ')'}} expected-note@+1 {{… in test_aligned()
542 // expected-error@+1 {{expected ')'}} expected-note@+1 {{to match this '('}} in test_aligned()
546 // expected-error@+1 {{expected ')'}} expected-note@+1 {{to match this '('}} in test_aligned()
551 // expected-error@+1 {{argument of aligned clause should be array or pointer, not 'int'}} in test_aligned()
555 // expected-error@+1 {{argument of aligned clause should be array or pointer, not 'int'}} in test_aligned()
560 // expected-note@+2 {{defined as aligned}} in test_aligned()
561 // expected-error@+1 {{a variable cannot appear in more than one aligned clause}} in test_aligned()
566 // expected-note@+3 {{defined as aligned}} in test_aligned()
567 // expected-error@+2 {{a variable cannot appear in more than one aligned clause}} in test_aligned()
568 // expected-error@+1 2 {{argument of aligned clause should be array or pointer, not 'int'}} in test_aligned()
576 // expected-error@+2 {{expected expression}} in test_private()
577 // expected-error@+1 {{expected ')'}} expected-note@+1 {{to match this '('}} in test_private()
581 // expected-error@+2 {{expected ')'}} expected-note@+2 {{to match this '('}} in test_private()
582 // expected-error@+1 2 {{expected expression}} in test_private()
586 // expected-error@+1 2 {{expected expression}} in test_private()
590 // expected-error@+1 {{expected expression}} in test_private()
594 // expected-error@+1 {{expected expression}} in test_private()
598 // expected-error@+1 {{expected variable name}} in test_private()
618 // expected-error@+3 {{expected ')'}} expected-note@+3 {{to match this '('}} in test_firstprivate()
619 // expected-error@+2 {{unexpected OpenMP clause 'firstprivate' in directive '#pragma omp simd'}} in test_firstprivate()
620 // expected-error@+1 {{expected expression}} in test_firstprivate()
628 // expected-error@+2 {{expected ')'}} expected-note@+2 {{to match this '('}} in test_lastprivate()
629 // expected-error@+1 {{expected expression}} in test_lastprivate()
634 // expected-error@+2 {{expected ')'}} expected-note@+2 {{to match this '('}} in test_lastprivate()
635 // expected-error@+1 2 {{expected expression}} in test_lastprivate()
639 // expected-error@+1 2 {{expected expression}} in test_lastprivate()
643 // expected-error@+1 {{expected expression}} in test_lastprivate()
647 // expected-error@+1 {{expected expression}} in test_lastprivate()
651 // expected-error@+1 {{expected variable name}} in test_lastprivate()
670 // expected-error@+3 {{expected ')'}} expected-note@+3 {{to match this '('}} in test_reduction()
671 // expected-error@+2 {{expected identifier}} in test_reduction()
672 // expected-warning@+1 {{missing ':' after reduction identifier - ignoring}} in test_reduction()
676 // expected-error@+2 {{expected identifier}} in test_reduction()
677 // expected-warning@+1 {{missing ':' after reduction identifier - ignoring}} in test_reduction()
681 // expected-error@+2 {{expected expression}} in test_reduction()
682 // expected-warning@+1 {{missing ':' after reduction identifier - ignoring}} in test_reduction()
686 // expected-error@+1 {{expected identifier}} in test_reduction()
690 // expected-error@+3 {{expected ')'}} expected-note@+3 {{to match this '('}} in test_reduction()
691 // expected-error@+2 {{expected identifier}} in test_reduction()
692 // expected-warning@+1 {{missing ':' after reduction identifier - ignoring}} in test_reduction()
696 // expected-error@+3 {{expected ')'}} expected-note@+3 {{to match this '('}} in test_reduction()
697 // expected-error@+2 {{expected expression}} in test_reduction()
698 // expected-warning@+1 {{missing ':' after reduction identifier - ignoring}} in test_reduction()
703 // expected-error@+3 {{expected ')'}} expected-note@+3 {{to match this '('}} in test_reduction()
705 // expected-error@+1 {{expected expression}} in test_reduction()
709 // expected-error@+1 {{expected expression}} in test_reduction()
713 // expected-error@+1 {{expected expression}} in test_reduction()
717 // expected-error@+1 {{expected expression}} in test_reduction()
721 // expected-error@+1 {{expected identifier}} in test_reduction()
760 // expected-error@+1 {{expected variable name}} in test_reduction()
764 // expected-error@+1 {{expected variable name}} in test_reduction()
772 // expected-error@+2 {{variable must be of integer or pointer type}} in test_loop_messages()
777 // expected-error@+2 {{variable must be of integer or pointer type}} in test_loop_messages()
790 #pragma omp simd linear(uval(f)) // expected-error {{expected 'val' modifier}} in linear_modifiers()
792 #pragma omp simd linear(ref(f)) // expected-error {{expected 'val' modifier}} in linear_modifiers()
794 #pragma omp simd linear(foo(f)) // expected-error {{expected 'val' modifier}} in linear_modifiers()