------- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-01 06:51 ------- The same thing happens with arrays: typedef char cptr[2]; __attribute__ ((vector_size(16))) cptr t; ------------------------------------------ And pointer to arrays: typedef char cptr[1]; typedef cptr *cptr1;
extern __attribute__ ((vector_size(16))) cptr1 t; ------------- This has been a bug since the begining of the vector_size attribute. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |3.2.3 3.4.0 3.3.3 4.1.0 | |4.2.0 4.0.0 Summary|vector of a pointer type |vector of a typedef applies |does not give a warning or |the vector to the inner most |error that we are ignoring |type instead of |vector |erroring/warning out that | |vector does not apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28921