http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51033
--- Comment #16 from Marc Glisse <marc.glisse at normalesup dot org> 2012-04-17 13:57:05 UTC --- (In reply to comment #15) > Are you planning to send it to gcc-patches for approval or are you not happy > with it yet? There is the problem of moving the testcases. What svn diff prints is nonsense, so I guess I should just write the Changelog and let whoever commits do the moves? The following can move to c-c++-common: gcc.dg/vector-2.c gcc.dg/vector-subscript-2.c gcc.dg/vector-3.c gcc.dg/vector-subscript-3.c gcc.dg/vector-init-1.c gcc.dg/vector-4.c gcc.dg/vector-init-2.c gcc.dg/vector-1.c gcc.dg/vector-subscript-1.c with these minor modifications: Index: c-c++-common/vector-subscript-1.c =================================================================== --- c-c++-common/vector-subscript-1.c (revision 186523) +++ c-c++-common/vector-subscript-1.c (working copy) @@ -6,7 +6,7 @@ float vf(vector float a) { - return 0[a]; /* { dg-error "subscripted value is neither array nor pointer nor vector" } */ + return 0[a]; /* { dg-error "subscripted value is neither array nor pointer nor vector|invalid types .* for array subscript" } */ } Index: c-c++-common/vector-3.c =================================================================== --- c-c++-common/vector-3.c (revision 186523) +++ c-c++-common/vector-3.c (working copy) @@ -2,4 +2,7 @@ /* Check that we error out when using vector_size on the bool type. */ +#ifdef __cplusplus +#define _Bool bool +#endif __attribute__((vector_size(16) )) _Bool a; /* { dg-error "" } */ And now I should actually bootstrap and run the testsuite ;-)