[Bug c++/51868] [4.6 Regression] Crash when generating the move constructor for a class with a bit field

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 16 21:37:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51868

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-16 21:34:30 UTC ---
Author: jason
Date: Mon Jan 16 21:34:26 2012
New Revision: 183223

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183223
Log:
    PR c++/51868
    * typeck.c (build_static_cast_1): Handle bit-fields properly.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-bitfield.C
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-bitfield2.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/typeck.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list