On Aug 8, 2014, at 12:17 PM, Tom Stellard <[email protected]> wrote:

> Hi,
> 
> This patch allows OpenCL programs to cast 0 as event_t e.g.
> 
> void foo(event_t e);
> 
> foo((event_t)0);
> 
> This is allowed by the OpenCL specification.
> 
> If this patch is approved, would it be OK to merge it to the
> 3.5 branch?
> 
> Thanks,
> Tom
> <0001-Sema-Allow-casting-0-to-OpenCL-builtin-type-event_t.patch>_______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

This came up a few months ago. See this thread: 
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140217/099653.html
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to