This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16381] [3.3/4.0 Regression] Structure layout bug
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2004 06:18:52 -0000
- Subject: [Bug c++/16381] [3.3/4.0 Regression] Structure layout bug
- References: <20040706091123.16381.zhangjie@magima.com.cn>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-28 06:18 -------
On Cygwin, I still get "24 32 24" for Base 2.
The reason turns out to have nothing to do with PODs. Rather, it is due to the
fact that on Cygwin, BIGGEST_FIELD_ALIGNMENT is set to 8 bytes. So, even though
the __m128 type has 16-byte alignment, Base 2 has only 8 byte alignment, which
results in a size of 24 bytes.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16381