re PR target/33774 (Cygwin/mingw do not support 16 byte alignment of struct/union fields)

PR target/33774
	* config/i386/cygming.h (BIGGEST_FIELD_ALIGNMENT): Define only if
	IN_TARGET_LIBS.

From-SVN: r130024
This commit is contained in:
Danny Smith 2007-11-08 20:20:02 +00:00 committed by Danny Smith
parent c02cdc25dc
commit 349fcd7817
2 changed files with 11 additions and 1 deletions

View 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

View 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