This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-16 18:40:33 UTC ---
Author: jason
Date: Mon Jan 16 18:40:26 2012
New Revision: 183218

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]