OSDN Git Service

* cp-tree.h (FN_TRY_BLOCK_P): New macro.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 1999 09:21:37 +0000 (09:21 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 1999 09:21:37 +0000 (09:21 +0000)
commit0a8302dcb7a1d9227b30539bc1ddcb4158f3367e
treef37256f751716adcc44c2b70bf519b5fe2388f0a
parent94cd7253d8b42bbc7cc28beb5432b1032c4bbb6e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29263 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/semantics.c