[PR c++/85634] Fix tsubst ICE
commit77de2054684ceffa636be74b9918a9c5edc4d8f5
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jun 2018 19:22:53 +0000 (20 19:22 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jun 2018 19:22:53 +0000 (20 19:22 +0000)
tree9a2a4b42351f389b6e96a0153aa538ec4ab09047
parentafd52cac40e227072e4403cfb503241d15ff6a00
[PR c++/85634] Fix tsubst ICE

https://gcc.gnu.org/ml/gcc-patches/2018-06/msg01274.html
PR c++/85634
* friend.c (add_friend): Keep lookup sets of tempate sets.

PR c++/85634
* g++.dg/lookup/pr85634-2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261817 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/friend.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr85634-2.C [new file with mode: 0644]