cp-tree.h (FN_TRY_BLOCK_P): New macro.
authorMark Mitchell <mark@codesourcery.com>
Fri, 10 Sep 1999 09:21:37 +0000 (09:21 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 10 Sep 1999 09:21:37 +0000 (09:21 +0000)
commit62409b397b129d3e5b40c406c1bd91b252003353
treef37256f751716adcc44c2b70bf519b5fe2388f0a
parentca5b5533e1a80628f6afca632fcece5395305665
cp-tree.h (FN_TRY_BLOCK_P): New macro.

* cp-tree.h (FN_TRY_BLOCK_P): New macro.
* init.c (perform_member_init): Remove obstack machinations.
(expand_cleanup_for_base): Likewise.
(finish_init_stmts): Mark the statement-expression as used.
* method.c (emit_thunk): Use tree-generating functions, not
RTL.
(do_build_copy_constructor): Likewise.
(do_build_assign_ref): Likewise.
(synthesize_method): Likewise.  Keep track of line numbers.
* pt.c (tsubst_expr): Handle various kinds of try blocks.
* semantics.c (expand_stmts): Remove.
(begin_function_try_block): Set FN_TRY_BLOCK_P.
(finish_function_try_block): Be careful rechaining
function try blocks.
(expand_stmt): Loop through all the statements at a given level.
(exapnd_body): Be careful with line-numbers here too.  Prepare for
being called directly from the parser.

From-SVN: r29263
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/semantics.c