aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/cygwin.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2b9cbcc..b15c0b4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
+
2001-08-28 Stan Shebs <shebs@apple.com>
* config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index 71b8468..d325167 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -446,6 +446,10 @@ extern int i386_pe_dllimport_name_p PARAMS ((const char *));
#undef BIGGEST_ALIGNMENT
#define BIGGEST_ALIGNMENT 128
+/* Native complier aligns internal doubles in structures on dword boundaries. */
+#undef BIGGEST_FIELD_ALIGNMENT
+#define BIGGEST_FIELD_ALIGNMENT 64
+
/* A bitfield declared as `int' forces `int' alignment for the struct. */
#undef PCC_BITFIELDS_TYPE_MATTERS
#define PCC_BITFIELDS_TYPE_MATTERS 1