/llvm-project/flang/test/Semantics/OpenACC/ |
H A D | acc-reduction-validity.f90 | 3 ! Check OpenACC reduction validity. 13 !$acc parallel reduction(+:i) 16 !$acc parallel reduction(*:i) 19 !$acc parallel reduction(min:i) 22 !$acc parallel reduction(max:i) 25 !$acc parallel reduction(iand:i) 28 !$acc parallel reduction(ior:i) 31 !$acc parallel reduction(ieor:i) 34 !ERROR: reduction operator not supported for integer type 35 !$acc parallel reduction( [all...] |
/llvm-project/clang/test/OpenMP/ |
H A D | target_teams_reduction_messages.cpp | 41 #pragma omp target teams reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when … in xxx() 54 #pragma omp target teams reduction(+:ref) in foobar() 130 #pragma omp target teams reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 132 #pragma omp target teams reduction + // expected-error {{expected '(' after 'reduction'}} expected-… in tmain() 134 #pragma omp target teams reduction( // expected-error {{expected unqualified-id}} expected-warning … in tmain() 136 #pragma omp target teams reduction(- // expected-warning {{missing ':' after reduction identifier -… in tmain() 138 …pragma omp target teams reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 140 #pragma omp target teams reduction(*) // expected-warning {{missing ':' after reduction identifier … in tmain() 142 …pragma omp target teams reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() 144 #pragma omp target teams reduction(& : argc // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
H A D | declare_reduction_messages.cpp | 11 #pragma omp declare reduction // expected-error {{expe… 12 #pragma omp declare reduction { // expected-error {{expe… 13 #pragma omp declare reduction( // expected-error {{expe… 14 #pragma omp declare reduction(# // expected-error {{expe… 15 #pragma omp declare reduction(/ // expected-error {{expe… 16 #pragma omp declare reduction(+ // expected-error {{expe… 17 #pragma omp declare reduction(operator // expected-error {{expe… 18 #pragma omp declare reduction(operator: // expected-error {{expe… 19 #pragma omp declare reduction(oper: // expected-error {{expe… 20 #pragma omp declare reduction(oper; // expected-error {{expe… [all …]
|
H A D | parallel_reduction_messages.cpp | 30 #pragma omp parallel reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when used… in xxx() 43 #pragma omp parallel reduction(+:ref) in foobar() 121 #pragma omp parallel reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 123 #pragma omp parallel reduction + // expected-error {{expected '(' after 'reduction'}} expected-warn… in tmain() 125 #pragma omp parallel reduction( // expected-error {{expected unqualified-id}} expected-warning {{mi… in tmain() 127 #pragma omp parallel reduction(- // expected-warning {{missing ':' after reduction identifier - ign… in tmain() 129 #pragma omp parallel reduction() // expected-error {{expected unqualified-id}} expected-warning {{m… in tmain() 131 #pragma omp parallel reduction(*) // expected-warning {{missing ':' after reduction identifier - ig… in tmain() 133 #pragma omp parallel reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{… in tmain() 135 #pragma omp parallel reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() [all …]
|
H A D | target_parallel_reduction_messages.cpp | 40 #pragma omp target parallel reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized wh… in xxx() 53 #pragma omp target parallel reduction(+:ref) in foobar() 129 #pragma omp target parallel reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 131 #pragma omp target parallel reduction + // expected-error {{expected '(' after 'reduction'}} expect… in tmain() 133 …agma omp target parallel reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 135 #pragma omp target parallel reduction(- // expected-warning {{missing ':' after reduction identifie… in tmain() 137 …gma omp target parallel reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 139 #pragma omp target parallel reduction(*) // expected-warning {{missing ':' after reduction identifi… in tmain() 141 …gma omp target parallel reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() 143 #pragma omp target parallel reduction(& : argc // expected-error {{expected ')'}} expected-note {{t… in tmain() [all …]
|
H A D | sections_reduction_messages.cpp | 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() [all …]
|
H A D | parallel_master_reduction_messages.cpp | 30 #pragma omp parallel master reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized wh… in xxx() 45 #pragma omp parallel master reduction(+:ref) in foobar() 123 #pragma omp parallel master reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 127 #pragma omp parallel master reduction + // expected-error {{expected '(' after 'reduction'}} expect… in tmain() 131 …agma omp parallel master reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 135 #pragma omp parallel master reduction(- // expected-warning {{missing ':' after reduction identifie… in tmain() 139 …gma omp parallel master reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 143 #pragma omp parallel master reduction(*) // expected-warning {{missing ':' after reduction identifi… in tmain() 147 …gma omp parallel master reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() 151 #pragma omp parallel master reduction(& : argc // expected-error {{expected ')'}} expected-note {{t… in tmain() [all …]
|
H A D | parallel_masked_reduction_messages.cpp | 30 #pragma omp parallel masked reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized wh… in xxx() 45 #pragma omp parallel masked reduction(+:ref) in foobar() 123 #pragma omp parallel masked reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 127 #pragma omp parallel masked reduction + // expected-error {{expected '(' after 'reduction'}} expect… in tmain() 131 …agma omp parallel masked reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 135 #pragma omp parallel masked reduction(- // expected-warning {{missing ':' after reduction identifie… in tmain() 139 …gma omp parallel masked reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 143 #pragma omp parallel masked reduction(*) // expected-warning {{missing ':' after reduction identifi… in tmain() 147 …gma omp parallel masked reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() 151 #pragma omp parallel masked reduction(& : argc // expected-error {{expected ')'}} expected-note {{t… in tmain() [all …]
|
H A D | parallel_sections_reduction_messages.cpp | 30 #pragma omp parallel sections reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized … in xxx() 45 #pragma omp parallel sections reduction(+:ref) in foobar() 123 #pragma omp parallel sections reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 127 #pragma omp parallel sections reduction + // expected-error {{expected '(' after 'reduction'}} expe… in tmain() 131 …ma omp parallel sections reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 135 #pragma omp parallel sections reduction(- // expected-warning {{missing ':' after reduction identif… in tmain() 139 …a omp parallel sections reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 143 #pragma omp parallel sections reduction(*) // expected-warning {{missing ':' after reduction identi… in tmain() 147 …a omp parallel sections reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() 151 #pragma omp parallel sections reduction(& : argc // expected-error {{expected ')'}} expected-note {… in tmain() [all …]
|
H A D | teams_reduction_messages.cpp | 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() [all …]
|
H A D | simd_reduction_messages.cpp | 30 #pragma omp simd reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when used her… in xxx() 43 #pragma omp simd reduction(+:ref) in foobar() 120 #pragma omp simd reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 123 #pragma omp simd reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning … in tmain() 126 #pragma omp simd reduction( // expected-error {{expected unqualified-id}} expected-warning {{missin… in tmain() 129 #pragma omp simd reduction(- // expected-warning {{missing ':' after reduction identifier - ignorin… in tmain() 132 #pragma omp simd reduction() // expected-error {{expected unqualified-id}} expected-warning {{missi… in tmain() 135 #pragma omp simd reduction(*) // expected-warning {{missing ':' after reduction identifier - ignori… in tmain() 138 #pragma omp simd reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{miss… in tmain() 141 #pragma omp simd reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match thi… in tmain() [all …]
|
H A D | declare_reduction_messages.c | 7 #pragma omp declare reduction // expected-error {{expe… 8 #pragma omp declare reduction { // expected-error {{expe… 9 #pragma omp declare reduction( // expected-error {{expe… 10 #pragma omp declare reduction(# // expected-error {{expe… 11 #pragma omp declare reduction(/ // expected-error {{expe… 12 #pragma omp declare reduction(+ // expected-error {{expe… 13 #pragma omp declare reduction(for // expected-error {{expe… 14 #pragma omp declare reduction(if: // expected-error {{expe… 15 #pragma omp declare reduction(oper: // expected-error {{expe… 16 #pragma omp declare reduction(oper; // expected-error {{expe… [all …]
|
H A D | for_simd_reduction_messages.cpp | 31 #pragma omp for simd reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when used… in xxx() 45 #pragma omp for simd reduction(+:ref) in foobar() 123 #pragma omp for simd reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 127 #pragma omp for simd reduction + // expected-error {{expected '(' after 'reduction'}} expected-warn… in tmain() 131 #pragma omp for simd reduction( // expected-error {{expected unqualified-id}} expected-warning {{mi… in tmain() 135 #pragma omp for simd reduction(- // expected-warning {{missing ':' after reduction identifier - ign… in tmain() 139 #pragma omp for simd reduction() // expected-error {{expected unqualified-id}} expected-warning {{m… in tmain() 143 #pragma omp for simd reduction(*) // expected-warning {{missing ':' after reduction identifier - ig… in tmain() 147 #pragma omp for simd reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{… in tmain() 151 #pragma omp for simd reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() [all …]
|
H A D | parallel_for_reduction_messages.cpp | 27 #pragma omp parallel for reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when … in xxx() 40 #pragma omp parallel for reduction(+:ref) in foobar() 93 #pragma omp for reduction(+:a) // expected-error {{reduction variable must be shared}} in foo() 96 #pragma omp parallel for reduction(inscan, +:a) in foo() 100 #pragma omp parallel for reduction(inscan, +:a) in foo() 131 #pragma omp parallel for reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 134 #pragma omp parallel for reduction + // expected-error {{expected '(' after 'reduction'}} expected-… in tmain() 137 #pragma omp parallel for reduction( // expected-error {{expected unqualified-id}} expected-warning … in tmain() 140 #pragma omp parallel for reduction(- // expected-warning {{missing ':' after reduction identifier -… in tmain() 143 …pragma omp parallel for reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() [all …]
|
H A D | masked_taskloop_simd_reduction_messages.cpp | 36 #pragma omp masked taskloop simd reduction(+:fp) // expected-warning {{variable 'fp' is uninitializ… in xxx() 49 #pragma omp masked taskloop simd reduction(+:ref) in foobar() 115 #pragma omp taskloop reduction(+:a) // expected-error {{expected addressable reduction item for the… in S7() 135 #pragma omp masked taskloop simd reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 138 #pragma omp masked taskloop simd reduction + // expected-error {{expected '(' after 'reduction'}} e… in tmain() 141 …omp masked taskloop simd reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 144 #pragma omp masked taskloop simd reduction(- // expected-warning {{missing ':' after reduction iden… in tmain() 147 …mp masked taskloop simd reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 150 #pragma omp masked taskloop simd reduction(*) // expected-warning {{missing ':' after reduction ide… in tmain() 153 …mp masked taskloop simd reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | master_taskloop_simd_reduction_messages.cpp | 40 #pragma omp master taskloop simd reduction(+:fp) // expected-warning {{variable 'fp' is uninitializ… in xxx() 53 #pragma omp master taskloop simd reduction(+:ref) in foobar() 119 #pragma omp taskloop reduction(+:a) // expected-error {{expected addressable reduction item for the… in S7() 139 #pragma omp master taskloop simd reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 142 #pragma omp master taskloop simd reduction + // expected-error {{expected '(' after 'reduction'}} e… in tmain() 145 …omp master taskloop simd reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp master taskloop simd reduction(- // expected-warning {{missing ':' after reduction iden… in tmain() 151 …mp master taskloop simd reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp master taskloop simd reduction(*) // expected-warning {{missing ':' after reduction ide… in tmain() 157 …mp master taskloop simd reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | parallel_master_taskloop_simd_reduction_messages.cpp | 40 #pragma omp parallel master taskloop simd reduction(+:fp) // expected-warning {{variable 'fp' is un… in xxx() 53 #pragma omp parallel master taskloop simd reduction(+:ref) in foobar() 119 #pragma omp parallel master taskloop simd reduction(+:a) // expected-error {{expected addressable r… in S7() 139 #pragma omp parallel master taskloop simd reduction // expected-error {{expected '(' after 'reducti… in tmain() 142 #pragma omp parallel master taskloop simd reduction + // expected-error {{expected '(' after 'reduc… in tmain() 145 …lel master taskloop simd reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp parallel master taskloop simd reduction(- // expected-warning {{missing ':' after reduc… in tmain() 151 …el master taskloop simd reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp parallel master taskloop simd reduction(*) // expected-warning {{missing ':' after redu… in tmain() 157 …el master taskloop simd reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | parallel_masked_taskloop_simd_reduction_messages.cpp | 40 #pragma omp parallel masked taskloop simd reduction(+:fp) // expected-warning {{variable 'fp' is un… in xxx() 53 #pragma omp parallel masked taskloop simd reduction(+:ref) in foobar() 119 #pragma omp parallel masked taskloop simd reduction(+:a) // expected-error {{expected addressable r… in S7() 139 #pragma omp parallel masked taskloop simd reduction // expected-error {{expected '(' after 'reducti… in tmain() 142 #pragma omp parallel masked taskloop simd reduction + // expected-error {{expected '(' after 'reduc… in tmain() 145 …lel masked taskloop simd reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp parallel masked taskloop simd reduction(- // expected-warning {{missing ':' after reduc… in tmain() 151 …el masked taskloop simd reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp parallel masked taskloop simd reduction(*) // expected-warning {{missing ':' after redu… in tmain() 157 …el masked taskloop simd reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | taskloop_simd_reduction_messages.cpp | 40 #pragma omp taskloop simd reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when… in xxx() 53 #pragma omp taskloop simd reduction(+:ref) in foobar() 119 #pragma omp taskloop reduction(+:a) // expected-error {{expected addressable reduction item for the… in S7() 139 #pragma omp taskloop simd reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 142 #pragma omp taskloop simd reduction + // expected-error {{expected '(' after 'reduction'}} expected… in tmain() 145 …pragma omp taskloop simd reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp taskloop simd reduction(- // expected-warning {{missing ':' after reduction identifier … in tmain() 151 …ragma omp taskloop simd reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp taskloop simd reduction(*) // expected-warning {{missing ':' after reduction identifier… in tmain() 157 …ragma omp taskloop simd reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | master_taskloop_reduction_messages.cpp | 40 #pragma omp master taskloop reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized wh… in xxx() 53 #pragma omp master taskloop reduction(+:ref) in foobar() 119 #pragma omp master taskloop reduction(+:a) // expected-error {{expected addressable reduction item … in S7() 139 #pragma omp master taskloop reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 142 #pragma omp master taskloop reduction + // expected-error {{expected '(' after 'reduction'}} expect… in tmain() 145 …agma omp master taskloop reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp master taskloop reduction(- // expected-warning {{missing ':' after reduction identifie… in tmain() 151 …gma omp master taskloop reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp master taskloop reduction(*) // expected-warning {{missing ':' after reduction identifi… in tmain() 157 …gma omp master taskloop reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | taskloop_reduction_messages.cpp | 40 #pragma omp taskloop reduction(+:fp) // expected-warning {{variable 'fp' is uninitialized when used… in xxx() 53 #pragma omp taskloop reduction(+:ref) in foobar() 119 #pragma omp taskloop reduction(+:a) // expected-error {{expected addressable reduction item for the… in S7() 139 #pragma omp taskloop reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 142 #pragma omp taskloop reduction + // expected-error {{expected '(' after 'reduction'}} expected-warn… in tmain() 145 #pragma omp taskloop reduction( // expected-error {{expected unqualified-id}} expected-warning {{mi… in tmain() 148 #pragma omp taskloop reduction(- // expected-warning {{missing ':' after reduction identifier - ign… in tmain() 151 #pragma omp taskloop reduction() // expected-error {{expected unqualified-id}} expected-warning {{m… in tmain() 154 #pragma omp taskloop reduction(*) // expected-warning {{missing ':' after reduction identifier - ig… in tmain() 157 #pragma omp taskloop reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{… in tmain() [all …]
|
H A D | taskloop_reduction_messages_attr.cpp | 23 …[[omp::directive(taskloop reduction(+:fp))]] // expected-warning {{variable 'fp' is uninitialized … in xxx() 36 [[omp::directive(taskloop reduction(+:ref))]] in foobar() 102 …[[omp::directive(taskloop reduction(+:a))]] // expected-error {{expected addressable reduction ite… in S7() 122 [[omp::directive(taskloop reduction)]] // expected-error {{expected '(' after 'reduction'}} in tmain() 125 …[[omp::directive(taskloop reduction +)]] // expected-error {{expected '(' after 'reduction'}} expe… in tmain() 128 …mp::directive(taskloop reduction())]] // expected-error {{expected unqualified-id}} expected-warni… in tmain() 131 …[[omp::directive(taskloop reduction(*))]] // expected-warning {{missing ':' after reduction identi… in tmain() 134 …p::directive(taskloop reduction(\))]] // expected-error {{expected unqualified-id}} expected-warni… in tmain() 137 …reduction(foo : argc))]] //expected-error {{incorrect reduction identifier, expected one of '+', '… in tmain() 140 [[omp::directive(taskloop reduction(^ : T))]] // expected-error {{'T' does not refer to a value}} in tmain() [all …]
|
H A D | parallel_masked_taskloop_reduction_messages.cpp | 40 #pragma omp parallel masked taskloop reduction(+:fp) // expected-warning {{variable 'fp' is uniniti… in xxx() 53 #pragma omp parallel masked taskloop reduction(+:ref) in foobar() 119 #pragma omp parallel masked taskloop reduction(+:a) // expected-error {{expected addressable reduct… in S7() 139 #pragma omp parallel masked taskloop reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 142 #pragma omp parallel masked taskloop reduction + // expected-error {{expected '(' after 'reduction'… in tmain() 145 …parallel masked taskloop reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp parallel masked taskloop reduction(- // expected-warning {{missing ':' after reduction … in tmain() 151 …arallel masked taskloop reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp parallel masked taskloop reduction(*) // expected-warning {{missing ':' after reduction… in tmain() 157 …arallel masked taskloop reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
H A D | parallel_master_taskloop_reduction_messages.cpp | 40 #pragma omp parallel master taskloop reduction(+:fp) // expected-warning {{variable 'fp' is uniniti… in xxx() 53 #pragma omp parallel master taskloop reduction(+:ref) in foobar() 119 #pragma omp parallel master taskloop reduction(+:a) // expected-error {{expected addressable reduct… in S7() 139 #pragma omp parallel master taskloop reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 142 #pragma omp parallel master taskloop reduction + // expected-error {{expected '(' after 'reduction'… in tmain() 145 …parallel master taskloop reduction( // expected-error {{expected unqualified-id}} expected-warning… in tmain() 148 #pragma omp parallel master taskloop reduction(- // expected-warning {{missing ':' after reduction … in tmain() 151 …arallel master taskloop reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 154 #pragma omp parallel master taskloop reduction(*) // expected-warning {{missing ':' after reduction… in tmain() 157 …arallel master taskloop reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() [all …]
|
/llvm-project/flang/test/Semantics/OpenMP/ |
H A D | reduction14.f90 | 3 ! 2.15.3.6 Reduction Clause 13 ! ERROR: The type of 'c' is incompatible with the reduction operator. 14 ! ERROR: The type of 'l' is incompatible with the reduction operator. 15 !$omp parallel reduction(*:i,r,c,z,l) 20 ! ERROR: The type of 'c' is incompatible with the reduction operator. 21 ! ERROR: The type of 'l' is incompatible with the reduction operator. 22 !$omp parallel reduction(+:i,r,c,z,l) 26 …! ERROR: The minus reduction operator is deprecated since OpenMP 5.2 and is not supported in the R… 27 !$omp parallel reduction(-:i,r,c,z,l) 31 ! ERROR: The type of 'i' is incompatible with the reduction operator. [all …]
|