aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-05 00:51:38 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-05 00:51:38 +0000
commit5a586e5083a67ae56ee5e2f5fc251dfabd1f31c1 (patch)
treed309786e527ab5a24b38096ca7339fcb03b7ad47 /gcc
parentd9b2d9da75c2a7624a50ef9843376c643560dbb0 (diff)
downloadgcc-5a586e5083a67ae56ee5e2f5fc251dfabd1f31c1.zip
gcc-5a586e5083a67ae56ee5e2f5fc251dfabd1f31c1.tar.gz
gcc-5a586e5083a67ae56ee5e2f5fc251dfabd1f31c1.tar.bz2
cp-tree.def (SCOPE_STMT): Take one operand.
* cp-tree.def (SCOPE_STMT): Take one operand. * cp-tree.h (SCOPE_STMT_BLOCK): New macro. (SCOPE_NULLIFIED_P): Redefine. (SCOPE_NO_CLEANUPS_P): New macro. (add_scope_stmt): Change prototype. * decl.c (poplevel): Tidy. Warn about unused variables here. Record SCOPE_STMT_BLOCKs. (finish_function): Keep DECL_INITIAL for functions that might be inlined. * ir.texi: Document SCOPE_NO_CLEANUPS_P. * semantics.c: Include rtl.h. (add_scope_stmt): Return the new scope statement and, for an end-of-scope statement, its matching begin statement. Don't set SCOPE_NULLIFIED_P. (do_pushlevel): Simplify, now that we are always function-at-a-time. (do_poplevel): Likewise. Record SCOPE_STMT_BLOCKs. (expand_stmt): Don't call expand_start_bindings or expand_end_bindings for a scope with SCOPE_NO_CLEANUPS_P set. * tree.c (copy_tree_r): Clear SCOPE_STMT_BLOCK rather than setting SCOPE_NULLIFIED_P. * Makefile.in (semantics.o): Depend on RTL_H. From-SVN: r30780
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog1
-rw-r--r--gcc/cp/Makefile.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index d67e30d..fc30880 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -21,6 +21,7 @@
expand_end_bindings for a scope with SCOPE_NO_CLEANUPS_P set.
* tree.c (copy_tree_r): Clear SCOPE_STMT_BLOCK rather than setting
SCOPE_NULLIFIED_P.
+ * Makefile.in (semantics.o): Depend on RTL_H.
* decl2.c (pending_statics_used): Make it a macro.
(saved_inlines_used): Likewise.
diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in
index 900823c..d0a1397 100644
--- a/gcc/cp/Makefile.in
+++ b/gcc/cp/Makefile.in
@@ -297,7 +297,7 @@ repo.o : repo.c $(CXX_TREE_H) \
$(srcdir)/../toplev.h $(srcdir)/../ggc.h
semantics.o: semantics.c $(CXX_TREE_H) lex.h \
$(srcdir)/../except.h $(srcdir)/../toplev.h \
- $(srcdir)/../flags.h $(srcdir)/../ggc.h
+ $(srcdir)/../flags.h $(srcdir)/../ggc.h $(RTL_H)
dump.o: dump.c $(CXX_TREE_H)
optimize.o: optimize.c $(CXX_TREE_H) \
$(srcdir)/../rtl.h $(srcdir)/../integrate.h ../insn-config.h