[Bug c++/56323] [C++11] cannot compile inherited constructor for typedef'ed base class

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 15 01:27:00 GMT 2013


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-15 01:27:09 UTC ---
Author: jason
Date: Fri Feb 15 01:27:03 2013
New Revision: 196067

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196067
Log:
    PR c++/56323
    * name-lookup.c (do_class_using_decl): Handle typedefs with
    inheriting constructors.
    (push_class_level_binding_1): Allow inheriting from template
    template parameter, too.
    * pt.c (tsubst_decl) [USING_DECL]: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor17.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/pt.c



More information about the Gcc-bugs mailing list