[llvm-bugs] [Bug 48933] New: Find and fix more unsupported type uses in device code

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 28 23:05:00 PST 2021


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

            Bug ID: 48933
           Summary: Find and fix more unsupported type uses in device code
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jdoerfert at anl.gov
                CC: a.bataev at hotmail.com, deepak.eachempati at hpe.com,
                    jonathanchesterfield at gmail.com,
                    llvm-bugs at lists.llvm.org, ravi.narayanaswamy at intel.com

We diagnose a lot of expression uses of unsupported types but sme declarations
slip through. They still can cause the backend to crash. Two I found so far:


```
#pragma omp declare target
long double a() {
    return 0;
}

void c(long double a) { }
#pragma omp end declare target

```

-- 
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/20210129/b30a5416/attachment-0001.html>


More information about the llvm-bugs mailing list