------- Comment #8 from paolo dot carlini at oracle dot com 2010-09-03 10:46 ------- If you look at the actual Standard, both alignment and allocation of bit-fields are implementation defined. Thus, as far as I can see, at best we are talking about non-portable implementation defined behavior. If you want my advice, try to stay away from those tricks, with and without anonymous struct.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45510