diff options
author | Jason Merrill <jason@redhat.com> | 2014-01-29 15:44:50 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-01-29 15:44:50 -0500 |
commit | 7651c656858e4c80febb67e1742c0aa0d716e1a1 (patch) | |
tree | f24433780390756fc9922334753b790abea23c6e /gcc/tree.c | |
parent | d530142ddb708112ad0a7dabaf74f9b4072fa120 (diff) | |
download | gcc-7651c656858e4c80febb67e1742c0aa0d716e1a1.zip gcc-7651c656858e4c80febb67e1742c0aa0d716e1a1.tar.gz gcc-7651c656858e4c80febb67e1742c0aa0d716e1a1.tar.bz2 |
re PR c++/59956 (internal compiler error: unexpected expression ‘P_S’ of kind template_parm_index)
PR c++/59956
* friend.c (do_friend): Pass the TEMPLATE_DECL to add_friend if we
have a friend template in a class template.
* pt.c (tsubst_friend_function): Look through it.
(push_template_decl_real): A friend member template is
primary.
From-SVN: r207281
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions