PR c++/85060 - wrong-code with call to base member in template.
authorJason Merrill <jason@redhat.com>
Thu, 29 Mar 2018 19:38:29 +0000 (15:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 29 Mar 2018 19:38:29 +0000 (15:38 -0400)
commite597f6822c64f3886bdfa7f6a371470cdb642903
tree6c2828208a21a9c7f82472b1c7556197d90afd2d
parent28ed14605eba0b4978fa8158cc2bc3db75f16f5d
PR c++/85060 - wrong-code with call to base member in template.

* search.c (any_dependent_bases_p): Check uses_template_parms
rather than processing_template_decl.

From-SVN: r258962
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/g++.dg/template/dependent-base3.C [new file with mode: 0644]