[llvm-bugs] [Bug 45777] New: std::abort fails to compile during device code pass

via llvm-bugs llvm-bugs at lists.llvm.org
Sat May 2 01:15:53 PDT 2020


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: unassignedclangbugs at nondot.org
          Reporter: james at invexed.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200502/79380538/attachment.html>


More information about the llvm-bugs mailing list