------- Comment #11 from hjl dot tools at gmail dot com 2009-01-05 23:08 ------- (In reply to comment #7) > (In reply to comment #5) > > There is padding between adjustedPtr and unwindHeader because the latter is > > forced to be maximally aligned. Due to the additional member the padding > > was > > reduced. Also, the alignment of _Unwind_Exception depends on -mavx. > > > > I don't see any need for extra alignment on _Unwind_Exception: > > struct _Unwind_Exception > { > _Unwind_Exception_Class exception_class; > _Unwind_Exception_Cleanup_Fn exception_cleanup; > _Unwind_Word private_1; > _Unwind_Word private_2; > > /* @@@ The IA-64 ABI says that this structure must be double-word aligned. > Taking that literally does not make much sense generically. Instead we > provide the maximum alignment required by any type for the machine. */ > } __attribute__((__aligned__)); > > I think it should have a fixed alignment for a given target. >
The ia64 psABI says _Unwind_Exception should be aligned at double-word. But it isn't very clear what is the size of double-word. It does say "long long" is 8 byte doubleword. We have [...@gnu-6 config]$ grep BIGGEST_ALIGNMENT ia64/ia64.h #define BIGGEST_ALIGNMENT 128 [...@gnu-6 config]$ We can't change it now no matter what the size of double-word is. -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn|38737 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38732 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org