OSDN Git Service

PR c++/26433
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 May 2006 16:04:22 +0000 (16:04 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 May 2006 16:04:22 +0000 (16:04 +0000)
commit78f7169a245503d2ba1e40bd999cb5107b7ba236
tree87a70819ab712edee728af13b2ec95fe70702bdf
parent1b70bed9e10d2113678692ee65f6963fc8346b84
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113911 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/fntry1.C [new file with mode: 0644]