So here is the libgcc patch only. ChangeLog gcc's libgcc
2012-02-28 Kai Tietz <kti...@redhat.com> * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it for mingw-targets as attribute gcc_struct. Ok for apply? Regards, Kai Index: config/i386/sfp-machine.h =================================================================== --- config/i386/sfp-machine.h (revision 184486) +++ config/i386/sfp-machine.h (working copy) @@ -1,3 +1,8 @@ +#ifdef __MINGW32__ + /* Make sure we are using gnu-style bitfield handling. */ +#define _FP_STRUCT_LAYOUT __attribute__ ((gcc_struct)) +#endif + #ifdef __x86_64__ #include "config/i386/64/sfp-machine.h" #else