[PR c++/85634] Fix tsubst ICE
authorNathan Sidwell <nathan@acm.org>
Wed, 20 Jun 2018 19:22:53 +0000 (19:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 20 Jun 2018 19:22:53 +0000 (19:22 +0000)
commitc1456656842bef093d73e1f324eb49b94db87203
tree9a2a4b42351f389b6e96a0153aa538ec4ab09047
parentf2cb6e64c920bb2f4e8a1ce9cb300385b53349ed
[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.

From-SVN: r261817
gcc/cp/ChangeLog
gcc/cp/friend.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr85634-2.C [new file with mode: 0644]