http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51568
--- Comment #3 from Eugene <eugene at hutorny dot in.ua> 2011-12-15 19:44:34 UTC --- >On linux sizeof (struct rec) is 7, so how do you expect an unsigned (size = 4) to hold the entire value? Agree, that was my mistake. I misexpected the enum to fit one byte.