]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sfp-machine.h (_FP_STRUCT_LAYOUT): Define it for mingw-targets as attribute gcc_struct.
authorKai Tietz <ktietz@redhat.com>
Tue, 28 Feb 2012 20:53:35 +0000 (21:53 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Tue, 28 Feb 2012 20:53:35 +0000 (21:53 +0100)
        * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
        for mingw-targets as attribute gcc_struct.

From-SVN: r184641

libgcc/ChangeLog
libgcc/config/i386/sfp-machine.h

index 8324c743687261735d8a922fb9f99c10da8ad3fd..275d7f2c443537eb108db1627ef3fe4be049ae5c 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-28  Kai Tietz  <ktietz@redhat.com>
+
+       * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
+       for mingw-targets as attribute gcc_struct.
+
 2012-02-28  Ian Lance Taylor  <iant@google.com>
 
        * generic-morestack.c (__splitstack_releasecontext): Correct call
index f2df869653ffab61d11abb0d872758d6833f2ad1..eb4b8bfb5fd87459f239313e4c3b63d613776a68 100644 (file)
@@ -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