Skip to content
Snippets Groups Projects
Commit 25aea4e9 authored by Dodji Seketeli's avatar Dodji Seketeli Committed by Dodji Seketeli
Browse files

re PR c++/47398 (tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500)

Fix PR c++/47398

gcc/cp/

	PR c++/47398
	* tree.c (cp_tree_equal)<TEMPLATE_PARM_INDEX>: Take the number of
	template parameters in account.

gcc/testsuite/

	PR c++/47398
	* g++.dg/template/typedef37.C: New test.
	* g++.dg/template/param1.C: Adjust expected error message.

From-SVN: r169807
parent 7fece979
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment