re PR c++/51868 (Crash when generating the move constructor for a class with a bit...
authorJason Merrill <jason@redhat.com>
Mon, 16 Jan 2012 18:40:26 +0000 (13:40 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 16 Jan 2012 18:40:26 +0000 (13:40 -0500)
commit645c7a55f8861f10f68f3e7fc2ce86fa57fb6b15
treebe90f943f42680f1ae78dea27e6f3952bac5125d
parentf434733449a2d46c3e003fd839bf94f47023c055
re PR c++/51868 (Crash when generating the move constructor for a class with a bit field)

PR c++/51868
* typeck.c (build_static_cast_1): Handle bit-fields properly.

From-SVN: r183218
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-bitfield.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/rv-bitfield2.C [new file with mode: 0644]