[llvm-bugs] [Bug 42621] New: Fix addr spaces for blocks
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 15 03:39:41 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42621
Bug ID: 42621
Summary: Fix addr spaces for blocks
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: OpenCL
Assignee: unassignedclangbugs at nondot.org
Reporter: anastasia.stulova at arm.com
CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org
Add diagnostic for addr space of block pointee type:
int (^__global block4)(void) = ^{ return 0; }; // should be an error
The implementation of blocks should also be altered - prevent using addr space
QualType in BlockPointerType. See discussion on:
https://reviews.llvm.org/D64083
--
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/20190715/8b5b523f/attachment-0001.html>
More information about the llvm-bugs
mailing list