Testcase: #define vector __attribute__((vector_size(16) )) vector float a;
int f(void) { a = ~a; } ----------- This is rejected with the C++ front-end: t.c: In function 'int f()': t.c:7: error: wrong type argument to bit-complement -- Summary: ~ vector float is accepted Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30427