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++/46369] [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-11 00:06:38 UTC ---
Author: jason
Date: Thu Nov 11 00:06:34 2010
New Revision: 166576

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166576
Log:
    PR c++/46369
    * semantics.c (cxx_eval_bit_field_ref): New.
    (cxx_eval_constant_expression): Call it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-bitfield.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]