This is the mail archive of the gcc-cvs@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]

r174168 - in /trunk/gcc: cp/ChangeLog cp/semant...


Author: jakub
Date: Wed May 25 07:00:01 2011
New Revision: 174168

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174168
Log:
	PR c++/49136
	* semantics.c (cxx_eval_bit_field_ref): Handle the
	case when BIT_FIELD_REF doesn't cover only a single field.

	* g++.dg/cpp0x/constexpr-bitfield2.C: New test.
	* g++.dg/cpp0x/constexpr-bitfield3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-bitfield2.C
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-bitfield3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.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]