This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2005 01:42:07 -0000
- Subject: [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
- References: <20040706165207.16389.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 01:42 -------
The C front-end gets this right:
align offset
sa.a2 4 0
sa.a3 4 8
sa2.a2 4 4
sa2.a3 4 12
sb.b2 4 0
sb.b3 4 12
sb2.b2 4 4
sb2.b3 4 16
sa 4
sa 4
sb 4
sb 4
So it is just the alignof which is wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16389