This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37119] sizeof simple struct consisting of bit-fields too large and unpredictable



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]