This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: vector_size attribute


On 5 Dec 2001, Aldy Hernandez wrote:

> in the case where we have:
> 
> 	#define vector __attribute__((vector_size(16))) 
> 	vector short **foo;
> 
> we need to traverse and find the type being modified (short).  then, we
> need to build back the pointers.  this is icky, i know.

You need to do the same thing as well for function return types and array 
element types.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]