This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r174168 - in /trunk/gcc: cp/ChangeLog cp/semant...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 25 May 2011 07:00:02 -0000
- Subject: 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