This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16381] [3.3/4.0 Regression] Structure layout bug


------- Additional Comments From dannysmith at users dot sourceforge dot net  2004-10-28 07:14 -------
Isn't this a bug in cygming.h then?  Would something like this
still retain  MSVC compatibility while allowing logical alignment
for SSE[2] types?

/* This is only needed in libobjc. There we use 8-byte alignment to be
   consistent with  TARGET_ALIGN_DOUBLE default. Otherwise the
   i386 version of ADJUST_FIELD_ALIGN  will do the right thing (i.e
   not force 4-byte alignment on doubles and long longs) since 
   TARGET_ALIGN_DOUBLE is set. */
#ifdef IN_TARGET_LIBS
#undef	BIGGEST_FIELD_ALIGNMENT
#define BIGGEST_FIELD_ALIGNMENT 64
#endif

Danny


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16381


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]