re PR c++/56358 ([C++11] Erroneous interaction of typedef and inherited constructor...
authorJason Merrill <jason@redhat.com>
Wed, 27 Feb 2013 18:13:24 +0000 (13:13 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 27 Feb 2013 18:13:24 +0000 (13:13 -0500)
commit140bec21b86df21fd9a0105dc5334ac45d172505
tree35dd8290aca2f22ffa98a2e2de1913fb9eb7a5c3
parentbbb3a9e27368ae01b96b33becb3cf662c95eba2a
re PR c++/56358 ([C++11] Erroneous interaction of typedef and inherited constructor declarations)

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.

From-SVN: r196316
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/inh-ctor18.C [new file with mode: 0644]
gcc/testsuite/g++.dg/inherit/using5.C
gcc/testsuite/g++.old-deja/g++.other/using3.C