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

            Bug ID: 50347
           Summary: Mapping of global scope deep object fails
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedb...@nondot.org
          Reporter: jtr...@anl.gov
                CC: llvm-bugs@lists.llvm.org

Created attachment 24859
  --> https://bugs.llvm.org/attachment.cgi?id=24859&action=edit
reproducer

The code for this bug report is available here: 

https://github.com/jtramm/omp_target_issues/tree/master/global_test/class_A

When attempting to compile this code with clang++ for a V100 target I get the
following error:

clang++ -Wall -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target
-march=sm_70 -g -c main.cpp -o main.o
<unknown>:0: error: expected relocatable expression
error: cannot compile inline asm
1 error generated.

The compiler version is:

$ clang++ --version
clang version 13.0.0 (https://github.com/llvm/llvm-project.git
c82a0ae70e280c1c40b1af09ef275ddc7ed4254d)

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

Reply via email to