This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37119] sizeof simple struct consisting of bit-fields too large and unpredictable
- 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: 13 Aug 2008 21:43:24 -0000
- Subject: [Bug c++/37119] sizeof simple struct consisting of bit-fields too large and unpredictable
- References: <bug-37119-5473@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-13 21:43 -------
>I don't follow. 4 bytes is 4*8=32 bits, which is more than 26, no?
Or the ABI says the different types are not merged together. Really you have
to look into what the ABI says to figure out the correct answer. I don't have
the x86_64 ABI in front of me right now.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|x86_64-pc-linux |
GCC target triplet| |x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37119