]> granicus.if.org Git - clang/commit
When emitting an aggregate into a temporary, make sure we set the alignment
authorJohn McCall <rjmccall@apple.com>
Mon, 15 Feb 2010 01:23:36 +0000 (01:23 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 15 Feb 2010 01:23:36 +0000 (01:23 +0000)
commit63efd334081c03a29d351e4aefa00dfaf6966d8a
tree76e4ed101afaa4736d885bc896699bb0d1a17995
parent1ed482ba6848703ff9507ee2e336f80e62470344
When emitting an aggregate into a temporary, make sure we set the alignment
on the alloca.

The fact that codegen makes this class of bug so wonderfully easy to make is
embarrassing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96204 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp