Add ALL variable category, implement semantic checks to verify the validity of the clause, improve error messages, add testcases. The variable category modifier is optional since 5.0, make sure we allow it to be missing. If it is missing, assume "all" in clause conversion.
9 lines
343 B
Fortran
9 lines
343 B
Fortran
!RUN: %not_todo_cmd bbc -emit-hlfir -fopenmp -fopenmp-version=45 -o - %s 2>&1 | FileCheck %s
|
|
!RUN: %not_todo_cmd %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=45 -o - %s 2>&1 | FileCheck %s
|
|
|
|
!CHECK: not yet implemented: DEFAULTMAP clause is not implemented yet
|
|
subroutine f00
|
|
!$omp target defaultmap(tofrom:scalar)
|
|
!$omp end target
|
|
end
|