[LLVMbugs] [Bug 8871] incorrect alignment for struct containing double

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 29 10:49:00 PST 2010


John McCall <rjmccall at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |rjmccall at apple.com
         Resolution|                            |INVALID

--- Comment #2 from John McCall <rjmccall at apple.com> 2010-12-29 12:49:00 CST ---
Both of these reported issues — that 'double' and the stack are only four-byte
aligned — are specified by the i386 Linux platform ABI, and changing it would
completely break binary compatibility.  You can request additional alignment
for a struct using __attribute__((aligned));  there is nothing you can do to
request additional stack alignment.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list