[Bug c++/27094] [4.0/4.1/4.2 Regression] tree check: expected tree_list, have omp_return in build_call
------- Comment #8 from mmitchel at gcc dot gnu dot org  2006-04-30 23:25 -------
Subject: Bug 27094
Author: mmitchel
Date: Sun Apr 30 23:25:44 2006
New Revision: 113400
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113400
Log:
        PR c++/27094
        * pt.c (tsubst_default_argument): Increment function_depth around
        call to tsubst_expr.
        * parser.c (cp_parser_parameter_declaration): Likewise.
        PR c++/27094
        * g++.dg/template/defarg8.C: New test.
Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/defarg8.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/parser.c
    branches/gcc-4_1-branch/gcc/cp/pt.c
    branches/gcc-4_1-branch/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: