From 616f273ae71d5c3c034419a2905f41b689dfc2b3 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sun, 16 Feb 2003 06:27:19 +0000 Subject: [PATCH] cygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE. * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE. From-SVN: r62960 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/cygwin.h | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bbd38c38325..3f8587cdc2b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-02-16 Danny Smith + + * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set + MASK_ALIGN_DOUBLE. + 2003-02-15 Roger Sayle * 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 3ce7d5e34a8..df269298d5d 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 -- 2.30.2