PR c++/81164 - ICE with invalid inherited constructor.
authorJason Merrill <jason@redhat.com>
Thu, 29 Jun 2017 15:30:11 +0000 (11:30 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 29 Jun 2017 15:30:11 +0000 (11:30 -0400)
commit84eb0f1a3bfc8007e8d6ecf4bf208682fbf5b4dd
tree25c42b5cc3d4ffc3545b2a55bb83c2ceba7a956e
parent8ff22ea5a8ee58457a7c16f3501e2731a92b9df8
PR c++/81164 - ICE with invalid inherited constructor.

* search.c (binfo_direct_p): New.
* name-lookup.c (do_class_using_decl): Use it.

From-SVN: r249797
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/search.c
gcc/testsuite/g++.dg/cpp0x/inh-ctor28.C [new file with mode: 0644]