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 #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-06 20:07:29 UTC ---
Author: jason
Date: Mon Jun  6 20:07:26 2011
New Revision: 174722

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/regress/ptrmem1.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/semantics.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]