Fix template/inherit4.C.
authorJason Merrill <jason@redhat.com>
Thu, 18 Jan 2018 22:15:32 +0000 (17:15 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 18 Jan 2018 22:15:32 +0000 (17:15 -0500)
commitb4cda6a6b731193c77191feb4dd70ef1cc658f09
treec43ba9dbd3f6cf2d16341706a5a02473d522e3f1
parent48cdaab9d79b0046f72570fe59a4394d0e575ef2
Fix template/inherit4.C.

PR c++/83714
* search.c (any_dependent_bases_p): Handle null TREE_BINFO.
* pt.c (instantiation_dependent_scope_ref_p): True if
any_dependent_bases_p.

From-SVN: r256866
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/search.c
gcc/testsuite/g++.dg/torture/pr83619.C