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++/49298] [4.6/4.7 Regression] [C++0x] sorry, unimplemented: unexpected ast of kind field_decl


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-06 19:42:40 UTC ---
Author: jason
Date: Mon Jun  6 19:42:38 2011
New Revision: 174721

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174721
Log:
    PR c++/49298
    * semantics.c (potential_constant_expression_1): Handle FIELD_DECL.

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