Testcase: #define __vector __attribute__((vector_size(16))) template <class A> void f(A, vector A, int);
------ Currently we get: t1.cc:4: error: invalid vector type for attribute 'vector_size' Which is poor and does not explain that vectorsize attribute does not apply to the template arument, maybe really it should. -- Summary: diagnostic for vector template argument is poor Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: diagnostic 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=27433