From 3f56e8dc4475cd42fcb734ae1a2cf47574756168 Mon Sep 17 00:00:00 2001 From: dannysmith Date: Thu, 8 Nov 2007 20:20:02 +0000 Subject: [PATCH] PR target/33774 * config/i386/cygming.h (BIGGEST_FIELD_ALIGNMENT): Define only if IN_TARGET_LIBS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130024 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/cygming.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d68ef6b..a203fee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-11-08 Danny Smith + + PR target/33774 + * config/i386/cygming.h (BIGGEST_FIELD_ALIGNMENT): Define only if + IN_TARGET_LIBS. + 2007-11-07 Kenneth Zadeck PR middle-end/33826 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 6b1c136..6d1e1b1 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -332,9 +332,13 @@ do { \ #undef MAX_OFILE_ALIGNMENT #define MAX_OFILE_ALIGNMENT (8192 * 8) -/* Native complier aligns internal doubles in structures on dword boundaries. */ +/* BIGGEST_FIELD_ALIGNMENT macro is used directly by libobjc, There, we + align internal doubles in structures on dword boundaries. Otherwise, + support vector modes using ADJUST_FIELD_ALIGN, defined in i386.h. */ +#ifdef IN_TARGET_LIBS #undef BIGGEST_FIELD_ALIGNMENT #define BIGGEST_FIELD_ALIGNMENT 64 +#endif /* A bit-field declared as `int' forces `int' alignment for the struct. */ #undef PCC_BITFIELD_TYPE_MATTERS -- 2.7.4