This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r114262 - in /branches/gcc-4_1-branch/gcc: cp/C...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 31 May 2006 04:05:55 -0000
- Subject: r114262 - in /branches/gcc-4_1-branch/gcc: cp/C...
Author: mmitchel
Date: Wed May 31 04:05:54 2006
New Revision: 114262
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114262
Log:
PR c++/26433
* cp-tree.h (begin_function_try_block): Change prototype.
(finish_function_handler_sequence): Likewise.
* parser.c (cp_parser_function_try_block): Adjust calls.
* pt.c (tsubst_expr): Adjust calls.
* semantics.c (begin_function_try_block): Create an artificial
outer scope.
(finish_function_handler_sequence): Close it.
PR c++/26433
* g++.dg/template/fntry1.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/fntry1.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/cp-tree.h
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/cp/pt.c
branches/gcc-4_1-branch/gcc/cp/semantics.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog