[patch] Correctly align arrays of int64_t on 32 bit systems

John McCall rjmccall at apple.com
Wed Aug 7 10:26:28 PDT 2013

On Aug 6, 2013, at 8:39 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> It is really odd that this was not noticed before, but we align
> long long int big[1024];
> to 4 bytes on 32 bit systems. The problem is that we are only looking
> at the element type when getLargeArrayMinWidth return non zero.
> The attached patch fixes it.

Looks okay.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130807/18e513f2/attachment.html>

More information about the cfe-commits mailing list