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++/56323] [C++11] cannot compile inherited constructor for typedef'ed base class


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-27 18:13:34 UTC ---
Author: jason
Date: Wed Feb 27 18:13:24 2013
New Revision: 196316

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196316
Log:
    PR c++/56358
    PR c++/56323
    * name-lookup.c (do_class_using_decl): Use ctor_identifier instead
    of the base name for inheriting ctors.
    (push_class_level_binding_1): Remove inheriting ctor handling.
    * pt.c (tsubst_decl) [USING_DECL]: Likewise.
    * class.c (add_implicitly_declared_members): Adjust.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor18.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/inherit/using5.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/using3.C


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