[llvm-bugs] [Bug 33420] New: Missing double AS qualifiers with private

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 12 10:32:51 PDT 2017


            Bug ID: 33420
           Summary: Missing double AS qualifiers with private
           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

The following code contains multiple AS qualifiers which are not diagnosed:
  local private int lip1;
  local private int* lip2; 

Note if we change private to any other (i.e. global) the following error occurs
test.cl:2:1: error: multiple address spaces specified for type

local global int lip1;

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

More information about the llvm-bugs mailing list