https://bugs.llvm.org/show_bug.cgi?id=47368

            Bug ID: 47368
           Summary: OMP map clause restriction change from 4.5 to 5.0 on
                    "list iterms of map clause in the same construnct must
                    not share original storge"
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenMP
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

OMP 4.5:

List items of map clauses in the same construct must not share
original storage.

OMP 5.0:

List items of the map clauses on the same construct must not share original
storage unless they are the same lvalue expression or array section.

So we should allow:


int scalar = 80;
#pragma omp target  map (alloc: scalar) map(to: scalar)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to