[Bug c++/27094] [4.0/4.1/4.2 Regression] tree check: expected tree_list, have omp_return in build_call
------- Comment #7 from mmitchel at gcc dot gnu dot org 2006-04-30 23:21 -------
Subject: Bug 27094
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27094
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: