OSDN Git Service

* config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Feb 2003 06:27:19 +0000 (06:27 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Feb 2003 06:27:19 +0000 (06:27 +0000)
MASK_ALIGN_DOUBLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62960 138bc75d-0d04-0410-961f-82ee72b054a4

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

index bbd38c3..3f8587c 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 3ce7d5e..df26929 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