21 lines · plain
1! RUN: %flang_fc1 -fdebug-unparse-no-sema -fopenmp %s | FileCheck --ignore-case %s2! RUN: %flang_fc1 -fdebug-dump-parse-tree-no-sema -fopenmp %s | FileCheck --check-prefix="PARSE-TREE" %s3 4subroutine foo()5 integer :: i, j6 j = 07! CHECK: !$OMP DO REDUCTION(TASK, *: j)8! PARSE-TREE: | | ExecutionPartConstruct -> ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct9! PARSE-TREE: | | | OmpBeginLoopDirective10! PARSE-TREE: | | | | OmpDirectiveName -> llvm::omp::Directive = do11! PARSE-TREE: | | | | OmpClauseList -> OmpClause -> Reduction -> OmpReductionClause12! PARSE-TREE: | | | | | Modifier -> OmpReductionModifier -> Value = Task13! PARSE-TREE: | | | | | Modifier -> OmpReductionIdentifier -> DefinedOperator -> IntrinsicOperator = Multiply14! PARSE-TREE: | | | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'j15 !$omp do reduction (task, *: j)16 do i = 1, 1017 j = j + 118 end do19 !$omp end do20end21