]> granicus.if.org Git - clang/commit
Fixed an assertion failure related to bitfield lowering.
authorWarren Hunt <whunt@google.com>
Sat, 1 Mar 2014 00:38:40 +0000 (00:38 +0000)
committerWarren Hunt <whunt@google.com>
Sat, 1 Mar 2014 00:38:40 +0000 (00:38 +0000)
commit30577e6c4f5ba66b8dc832ed9955b1a7475f788a
tree818cc80d7c4cbff7feebb52e6de7bbe156ae5f87
parent03f900e747de348aff3becfa6155ed703331f735
Fixed an assertion failure related to bitfield lowering.

When lowering a bitfield, CGRecordLowering would assign the wrong
storage type to a bitfield in some cases and trigger an assertion.  In
these cases the layout was still correct, just the bitfield info was
wrong.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202562 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGRecordLayoutBuilder.cpp
test/CodeGen/union.c