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

            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: unassignedclangb...@nondot.org
          Reporter: anastasia.stul...@arm.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to