------- Comment #14 from hjl dot tools at gmail dot com 2010-07-15 19:07 ------- (In reply to comment #13) > struct A { > long b[8] __attribute__((aligned (32))); > __m128i x; > }; > > What alignment should we use to pass it on stack? >
I think when such a struct is passed on stack, the alignment attributes, if they are > PARM_BOUNDARY, are ignored when computing structure alignment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44948