This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] Committed fix for PR 33774
- From: "Danny Smith" <dansmister at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dave dot korn at artimi dot com
- Date: Fri, 9 Nov 2007 09:24:20 +1300
- Subject: [Patch] Committed fix for PR 33774
As committed:
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.
Index: config/i386/cygming.h
===================================================================
--- config/i386/cygming.h (revision 129863)
+++ config/i386/cygming.h (working copy)
@@ -332,9 +332,13 @@
#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