cygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 16 Feb 2003 06:27:19 +0000 (06:27 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Sun, 16 Feb 2003 06:27:19 +0000 (06:27 +0000)
* config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
MASK_ALIGN_DOUBLE.

From-SVN: r62960

gcc/ChangeLog
gcc/config/i386/cygwin.h

index bbd38c38325031714c10ba3ca992f10602001fe2..3f8587cdc2bd8f6a189e9a54691def38df5ad224 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-16  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
+       MASK_ALIGN_DOUBLE.
+
 2003-02-15  Roger Sayle  <roger@eyesopen.com>
 
        * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
index 3ce7d5e34a885fea1d6979ef0b33670a97909220..df269298d5d5e35ae9b9c34ea9068b5f4dddadc0 100644 (file)
@@ -307,11 +307,13 @@ do {                                                      \
 #define CHECK_STACK_LIMIT 4000
 
 /* By default, target has a 80387, uses IEEE compatible arithmetic,
-   and returns float values in the 387 and needs stack probes */
-#undef TARGET_SUBTARGET_DEFAULT
+   returns float values in the 387 and needs stack probes.
+   We also align doubles to 64-bits for MSVC default compatibility. */
 
+#undef TARGET_SUBTARGET_DEFAULT
 #define TARGET_SUBTARGET_DEFAULT \
-   (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE) 
+   (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE \
+    | MASK_ALIGN_DOUBLE)
 
 /* This is how to output an assembler line
    that says to advance the location counter