http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52979
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-24 11:41:47 UTC --- This is a kind of dup of PR48124, certainly on the 4.7 branch that doesn't even try to handle it, and on the trunk (after Honza's changes one needs to swap struct S a = { 1 }; static struct S b = { 1 }; lines to reproduce) the problem is I guess that DECL_BIT_FIELD_REPRESENTATIVE is still an int, I guess in packed bitfields we need to use 8-bit type as bit field representative, or handle those specially in the expansion.