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

            Bug ID: 49791
           Summary: Compiling Offloading code with -g causes a
                    segmentation fault
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Compiling the following code (https://godbolt.org/z/aYefxeWc8) with -g causes a
segmentation fault in ptxas for unknown reasons.

$ clang++ -fopenmp -fopenmp-targets=nvptx64 -g work.cpp
clang-13: error: unable to execute command: Segmentation fault (core dumped)
clang-13: error: ptxas command failed due to signal (use -v to see invocation)
clang version 13.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home2/3n4/clang/bin
clang-13: note: diagnostic msg: Error generating preprocessed source(s).

-- 
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