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

            Bug ID: 45777
           Summary: std::abort fails to compile during device code pass
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: CUDA
          Assignee: unassignedclangb...@nondot.org
          Reporter: ja...@invexed.com
                CC: llvm-bugs@lists.llvm.org

std::abort causes a compilation failure during the device code pass:

    error: expected identifier
      std::abort();
           ^
    error: unexpected namespace name 'std': expected expression
      std::abort();
      ^

std::terminate compiles successfully.

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