This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r113399 - in /trunk/gcc: cp/ChangeLog cp/decl2....
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 30 Apr 2006 23:21:39 -0000
- Subject: r113399 - in /trunk/gcc: cp/ChangeLog cp/decl2....
Author: mmitchel
Date: Sun Apr 30 23:21:38 2006
New Revision: 113399
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113399
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/template/defarg8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog