>> To quote Clang, 'alignof' applied to an expression is a GNU extension.
>> Thus we should presumably do what GCC does -- C++ doesn't have a notion of
>> the alignment of a declaration as distinct from the alignment of its type.
>
>
> OK, so that's not strictly-speaking true, but it doesn't have a notion of
> the alignment being increased because all globals happen to be 16-byte
> aligned on the target system.

The attached patch should fix it. Is it OK?

Cheers,
Rafael

Attachment: t.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to