[Bug c++/50491] [C++0x] [4.6/4.7 Regression] "unexpected ast of kind using_decl" on call to using'ed grandparent member function

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 23 03:48:00 GMT 2011


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

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-23 00:55:20 UTC ---
Author: paolo
Date: Fri Sep 23 00:55:16 2011
New Revision: 179110

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179110
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:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/pr50491.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



More information about the Gcc-bugs mailing list