[alignof] Put back the hack for old versions of GCC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 2 Apr 2015 13:31:50 +0000 (13:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 2 Apr 2015 13:31:50 +0000 (13:31 +0000)
commit8d70064a4ac2ae09b8003173e751cfad9dc15400
treeea56dc0e0524c3f39ba6a5cfe36e1477cb81a3b3
parentefdcf3d62d52a80c57b8629f294d308fe3d0d180
[alignof] Put back the hack for old versions of GCC.

This works around a bug (PR56859) that is fixed in all versions of GCC I tested
with but was present in 4.8.0. Using 4.8.0 is of course a terrible idea, but looks
like we can't drop it just yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233916 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/AlignOf.h