[cfe-commits] [OpenCL patch] vec_type_hint

Simon Atanasyan satanasyan at mips.com
Tue Aug 14 07:02:41 PDT 2012


Hi,

On Mon, Aug 13, 2012 at 2:05 PM, Anton Lokhmotov
<Anton.Lokhmotov at arm.com> wrote:
> Please review an updated patch on the vec_type_hint attribute in OpenCL.

On my machine (32-bit debian) the patch breaks the following test case:
[[
******************** TEST 'Clang :: Parser/attributes.c' FAILED
********************
Script:
--
/home/simon/work/llvm.bld/Debug+Asserts/bin/clang -cc1
-internal-isystem
/home/simon/work/llvm.bld/Debug+Asserts/bin/../lib/clang/3.2/include
-fsyntax-only -verify
/home/simon/work/llvm.svn/tools/clang/test/Parser/attributes.c
-pedantic -std=c99
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics expected but not seen:
  Line 62: expected ')'
  Line 63: expected ')'
error: 'error' diagnostics seen but not expected:
  Line 61: expected ')'
  Line 98: expected identifier or '('
error: 'warning' diagnostics expected but not seen:
  Line 67: GCC does not allow nonnull attribute in this position on a
function definition
  Line 73: GCC does not allow noreturn attribute in this position on a
function definition
  Line 78: GCC does not allow nonnull attribute in this position on a
function definition
  Line 80: GCC does not allow pure attribute in this position on a
function definition
  Line 85: GCC does not allow nonnull attribute in this position on a
function definition
  Line 87: GCC does not allow pure attribute in this position on a
function definition
10 errors generated.
--
]]

--
Simon



More information about the cfe-commits mailing list