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++/50491] [C++0x] [4.6/4.7 Regression] "unexpected ast of kind using_decl" on call to using'ed grandparent member function


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-23 00:54:38 UTC ---
Author: paolo
Date: Fri Sep 23 00:54:32 2011
New Revision: 179109

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179109
Log:
/cp
2011-09-22  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50491
    * semantics.c (potential_constant_expression_1): Handle USING_DECL.

/testsuite
2011-09-22  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50491
    * g++.dg/cpp0x/pr50491.C: New.

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