]> granicus.if.org Git - clang/commit
Don't update the struct alignment when adding fields to a packed struct. Fixes PR5118.
authorAnders Carlsson <andersca@mac.com>
Fri, 2 Oct 2009 04:52:12 +0000 (04:52 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 2 Oct 2009 04:52:12 +0000 (04:52 +0000)
commit2df96e7019853d80ea599453925bd324cd110a8f
tree85434a5a65206e011863c1d6b697ac62429b2bb2
parent3d363c596d295b38cae765eae510fbc2e7c80e1a
Don't update the struct alignment when adding fields to a packed struct. Fixes PR5118.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83235 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprConstant.cpp
test/CodeGen/const-init.c