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]

Re: c/9932: alignment of long long in struct seems to be wrong


Synopsis: alignment of long long in struct seems to be wrong

State-Changed-From-To: feedback->closed
State-Changed-By: rth
State-Changed-When: Sun Mar 16 08:31:46 2003
State-Changed-Why:
    Not a bug.  The x86 svr4 abi specifies that the maximum alignment
    of data in a structure is 4.  The *preferred* alignment is
    8, so that's what __alignof returns.
    
    There is a modification of this rule for MMX and SSE data
    types, in that they really require 8 and 16 byte alignment
    respectively; in this change we follow the Intel compiler.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9932


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