Alignment attribute of function arguments

Hello everyone,

  Hopefully a simple question. How can I access function argument alignment
information? If my code has something like this:

void foo(short * __restrict __attribute__ ((aligned(8))) InputData){}

...as I deal with argument (InputData) can I get the alignment info set for
it?

Thanks!

Sergei

Hi Sergei,

Hello everyone,

   Hopefully a simple question. How can I access function argument alignment
information? If my code has something like this:

void foo(short * __restrict __attribute__ ((aligned(8))) InputData){}

...as I deal with argument (InputData) can I get the alignment info set for
it?

are you trying to do this in clang? If so, you should write to the clang list.

Ciao, Duncan.