------- Comment #6 from mmitchel at gcc dot gnu dot org 2006-05-31 04:06 ------- Subject: Bug 26433
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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26433