OSDN Git Service

PR target/33774
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2007 20:20:02 +0000 (20:20 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2007 20:20:02 +0000 (20:20 +0000)
* 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
gcc/config/i386/cygming.h

index d68ef6b..a203fee 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR target/33774
+       * config/i386/cygming.h (BIGGEST_FIELD_ALIGNMENT): Define only if
+       IN_TARGET_LIBS.
+
 2007-11-07  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        PR middle-end/33826
index 6b1c136..6d1e1b1 100644 (file)
@@ -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