aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-02-16 06:27:19 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2003-02-16 06:27:19 +0000
commit616f273ae71d5c3c034419a2905f41b689dfc2b3 (patch)
treef9df30eea408f1b2b5780256cc09953f26ec1df8 /gcc
parent881b2a9652748adad442a2d634eb2970a476fe42 (diff)
downloadgcc-616f273ae71d5c3c034419a2905f41b689dfc2b3.zip
gcc-616f273ae71d5c3c034419a2905f41b689dfc2b3.tar.gz
gcc-616f273ae71d5c3c034419a2905f41b689dfc2b3.tar.bz2
cygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE.
* config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE. From-SVN: r62960
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/cygwin.h8
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bbd38c3..3f8587c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index 3ce7d5e..df26929 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -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