This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44948] -mavx changes ABI
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2010 19:07:19 -0000
- Subject: [Bug target/44948] -mavx changes ABI
- References: <bug-44948-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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