OSDN Git Service

* cp-tree.h (SCOPE_PARTIAL_P): New macro.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Oct 1999 08:05:57 +0000 (08:05 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Oct 1999 08:05:57 +0000 (08:05 +0000)
commit4f3966770b7445af975cf52b86ddb74139666442
treea7226b57f6affb547543c6a726c4112b3877d63f
parentf4e94e26a3a877742d0746ed505e5bd4557824db
* cp-tree.h (SCOPE_PARTIAL_P): New macro.
(pushlevel_temporary): Remove.
(add_scope_stmt): New function.
* decl.c (pushlevel_temporary): Remove.
(poplevel): Use add_scope_stmt.
(start_decl_1): Likewise.
* semantics.c (add_scope_stmt): New function.
(do_pushlevel): Use it.
(do_poplevel): Use it.
(expand_stmt): Check SCOPE_PARTIAL_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30118 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.other/debug5.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/goto1.C [new file with mode: 0644]