[llvm-bugs] [Bug 49790] New: Constexpr values not handled in `omp declare mapper` clause

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 31 10:39:37 PDT 2021


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

            Bug ID: 49790
           Summary: Constexpr values not handled in `omp declare mapper`
                    clause
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: huberjn at ornl.gov
                CC: llvm-bugs at lists.llvm.org

As seen in this example (https://godbolt.org/z/jdK5a993K) the compiler does not
allow this mapper to be declared using a constexpr value, but is fine with it
being used in the target region's map clause.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210331/8154032e/attachment.html>


More information about the llvm-bugs mailing list