------- Comment #13 from mikpe at it dot uu dot se 2010-07-25 17:15 ------- <endian.h> is non-standard. For instance, Solaris 10 doesn't have it.
Does the test case really require explicit bit fields? Does it work (as in show the miscompile before the fix) with shift & mask operations instead? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45017