[llvm-bugs] [Bug 33421] New: Missing diagnostic for illegal type kernel arguments

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


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

            Bug ID: 33421
           Summary: Missing diagnostic for illegal type kernel arguments
           Product: clang
           Version: trunk
          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

Some types are incorrectly accepted as kernel arguments (see restriction in
spec s6.9.k)

__kernel void foo(size_t p) {} // compiles with no error

-- 
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/3b27af28/attachment.html>


More information about the llvm-bugs mailing list