[cfe-dev] "vector" type, PS3 targets

Eli Friedman eli.friedman at gmail.com
Wed Nov 25 17:18:52 PST 2009


On Wed, Nov 25, 2009 at 11:59 AM, John Thompson
<john.thompson.jtsoftware at gmail.com> wrote:
> But I can't use the raw notation in a return type:
>
>   __attribute__((vector_size(16))) unsigned char f();
>    vectest.cpp:9:16: error: unsupported type 'unsigned char ()' for
> vector_size attribute,  please use on typedef
>   __attribute__((vector_size(16))) unsigned char f();

That appears to be a bug, since gcc accepts the construct; please file.

-Eli




More information about the cfe-dev mailing list