------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:06 ------- I will just have a note here from what the standard say about this issue: " in such cases the extra bits are used for padding and do not participate in the value representation of the bit-field" (9.6P1)
"It is implmentation-defined whether a plain (neitther explicitly signed nor unsigned) char, short, int or long bit-field is signed or unsigned." So both are right if we changed the definedness (but I still think you are comparing ppc-darwin vs ppc- linux). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19448