[LLVMbugs] [Bug 18006] New: Some alignment differences with gcc 4.8

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 20 08:13:03 PST 2013


            Bug ID: 18006
           Summary: Some alignment differences with gcc 4.8
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

It looks like gcc 4.8 will

1) Align arrays >= 32 bytes to 32 bytes.
2) Align arrays >= 16 bytes to 16 bytes.
3) Align the stack to 16 bytes with -m32.
4) Align the stack to 32 bytes with -m64.
5) Align vlas to 16 bytes.

Item 5 is almost certainly a bug in gcc. We implement 3 and 2 (on 64 bits), but
not 1 or 4.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131120/e1b05e76/attachment.html>

More information about the llvm-bugs mailing list