------- Comment #5 from pinskia at gcc dot gnu dot org 2010-09-03 01:10 ------- union { unsigned int a : 1, b : 4; unsigned int data; };
This is an union of three elements each over lapping, that is a:1 overlaps with b:4 and data. So this is expected behavior as far as I can tell. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45510