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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-25 
07:00:06 UTC ---
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

Reply via email to