r113911 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...

mmitchel@gcc.gnu.org mmitchel@gcc.gnu.org
Fri May 19 16:04:00 GMT 2006


Author: mmitchel
Date: Fri May 19 16:04:22 2006
New Revision: 113911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113911
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:
    trunk/gcc/testsuite/g++.dg/template/fntry1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list