[llvm-bugs] [Bug 33418] New: Missing NULL ptr diagnostics wrt address spaces

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 12 10:00:37 PDT 2017


            Bug ID: 33418
           Summary: Missing NULL ptr diagnostics wrt address spaces
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anastasia.stulova at arm.com
                CC: llvm-bugs at lists.llvm.org

There seems to be missing diagn for the following code:

- Error for OpenCL 2.0, but compiles fine for earlier OpenCL
global int * ptr = (private void*)0; // Mismatching ASes

- Compiles fine for OpenCL2.0 
global int * ptr = (generic void*)0; // Overlapping AS with mismatching
explicit cast s6.5.5

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/20170612/ce3aa7d4/attachment-0001.html>

More information about the llvm-bugs mailing list