https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81899
--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Mon Aug 21 13:29:20 2017 New Revision: 251227 URL: https://gcc.gnu.org/viewcvs?rev=251227&root=gcc&view=rev Log: PR c++/81899 * pt.c (instantiate_class_template_1): BOUND_TEMPLATE_TEMPLATE_PARM is never friend-injected. PR c++/81899 * g++.dg/template/pr81899.C: New. Added: trunk/gcc/testsuite/g++.dg/template/pr81899.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog