Skip to content
Snippets Groups Projects
Commit 0a045a26 authored by mmitchel's avatar mmitchel
Browse files

PR c++/27094

	* pt.c (tsubst_default_argument): Increment function_depth around
	call to tsubst_expr.
	* parser.c (cp_parser_parameter_declaration): Likewise.
	* decl2.c (mark_used): Tidy.
	PR c++/27094
	* g++.dg/template/defarg8.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113399 138bc75d-0d04-0410-961f-82ee72b054a4
parent 2c7082e3
No related branches found
No related tags found
Loading
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