diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-05-19 16:04:22 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-05-19 16:04:22 +0000 |
commit | eaf6fb906eb9e8807f068dd917a738523382bfe2 (patch) | |
tree | 87a70819ab712edee728af13b2ec95fe70702bdf /gcc/reg-stack.c | |
parent | affaef6e07c544cef985d95e213b6942fe1988da (diff) | |
download | gcc-eaf6fb906eb9e8807f068dd917a738523382bfe2.zip gcc-eaf6fb906eb9e8807f068dd917a738523382bfe2.tar.gz gcc-eaf6fb906eb9e8807f068dd917a738523382bfe2.tar.bz2 |
re PR c++/26433 (Syntax error using __FUNCTION__ in catch handler)
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.
From-SVN: r113911
Diffstat (limited to 'gcc/reg-stack.c')
0 files changed, 0 insertions, 0 deletions