[Bug middle-end/22275] [3.4/4.0/4.1/4.2 Regression] bitfield layout change (regression?)
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 14 15:17:00 GMT 2006
------- Comment #19 from steven at gcc dot gnu dot org 2006-01-14 15:17 -------
On AMD64, EMPTY_FIELD_BOUNDARY is 64 bits, so if we honnor that for the
zero-length bitfield, we get a size of 12 for the struct in the test case in
comment #9 (where we apparently expect 8, which is what you get with
EMPTY_FIELD_BOUNDARY==32 even on AMD64).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22275
More information about the Gcc-bugs
mailing list