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
Showing
- gcc/cp/ChangeLog 10 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/class.c 2 additions, 3 deletionsgcc/cp/class.c
- gcc/cp/name-lookup.c 8 additions, 13 deletionsgcc/cp/name-lookup.c
- gcc/cp/pt.c 0 additions, 5 deletionsgcc/cp/pt.c
- gcc/testsuite/g++.dg/cpp0x/inh-ctor18.C 22 additions, 0 deletionsgcc/testsuite/g++.dg/cpp0x/inh-ctor18.C
- gcc/testsuite/g++.dg/inherit/using5.C 1 addition, 1 deletiongcc/testsuite/g++.dg/inherit/using5.C
- gcc/testsuite/g++.old-deja/g++.other/using3.C 1 addition, 1 deletiongcc/testsuite/g++.old-deja/g++.other/using3.C
Loading
Please register or sign in to comment