This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch]: Align doubles on 64 bit boundaries as default for mingw32 and cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 15 Feb 2003 22:41:17 -0500
- Subject: Re: [Patch]: Align doubles on 64 bit boundaries as default for mingw32 and cygwin
- References: <20030216033834.99420.qmail@web21404.mail.yahoo.com>
On Sun, Feb 16, 2003 at 02:38:34PM +1100, Danny Smith wrote:
>Hello
>
>Native compiler, by default, aligns doubles in structures to 64 bit
>boundaries. Defining BIGGEST_FIELD_ALIGNMENT to 64 used to ensure
>that cygwin and mingw remained compatible with MSVC objects. Now
>that this is controlled by x86_field_alignment, we need to align doubles
>on 64 bit boundaries throughout.
>
>This fixes a regression from gcc-3.0
>
>Tested on i386-pc-mingw32 on trunk and 3.3 branch.
>
>Okay for trunk and 3.3 branch?
Yes, thanks.
cgf
>2003-02-16 Danny Smith <dannysmith@users.sourceforge.net>
>
> * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
> MASK_ALIGN_DOUBLE.