PR c++/78771 - ICE with inherited constructor.
authorJason Merrill <jason@redhat.com>
Fri, 27 Jan 2017 16:48:34 +0000 (11:48 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 27 Jan 2017 16:48:34 +0000 (11:48 -0500)
commit20f058d0986d8e7f81c1e45217b6d4c361dc089b
tree95c5d020797f1cfdd1538426d670c45790934a50
parenta7d47f352663d16c12cb3a40459b546d166023d7
PR c++/78771 - ICE with inherited constructor.

* call.c (build_over_call): Call deduce_inheriting_ctor here.
* pt.c (tsubst_decl): Not here.
* class.c (add_method): Or here.
* method.c (deduce_inheriting_ctor): Handle clones.
(implicitly_declare_fn): Don't deduce inheriting ctors yet.

From-SVN: r244988
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/pr78771-new.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/pr78771-old.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/pr78771.C [new file with mode: 0644]