From 225ff11985aa7ebb3b51b935e0afe6197ae7f54e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 9 Dec 1999 23:24:58 +0000 Subject: [PATCH] except.c (expand_throw): Add static attribute to match prototype. * except.c (expand_throw): Add static attribute to match prototype. * Makefile.in (semantics.o): Add dependency on output.h. * semantics.c: Include output.h for declaration of make_function_rtl. From-SVN: r30850 --- gcc/cp/ChangeLog | 11 ++++++++++- gcc/cp/Makefile.in | 3 ++- gcc/cp/except.c | 2 +- gcc/cp/semantics.c | 2 ++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b6505e5..bde1126 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,4 +1,13 @@ -1999-12-09 Mark Mitchell +11999-12-09 Andreas Jaeger + + * except.c (expand_throw): Add static attribute to match + prototype. + + * Makefile.in (semantics.o): Add dependency on output.h. + * semantics.c: Include output.h for declaration of + make_function_rtl. + +999-12-09 Mark Mitchell * decl.c (init_decl_processing): Reenable inlining on trees. (finish_function): Likewise. diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in index d0a1397..d845c3e 100644 --- a/gcc/cp/Makefile.in +++ b/gcc/cp/Makefile.in @@ -297,7 +297,8 @@ 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 $(RTL_H) + $(srcdir)/../flags.h $(srcdir)/../ggc.h \ + $(srcdir)/../output.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 diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 62cae27..48eb4fd 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -766,7 +766,7 @@ alloc_eh_object (type) generate a label for the throw block 4. jump to the throw block label. */ -tree +static tree expand_throw (exp) tree exp; { diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index ca0201d..c836888 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -34,6 +34,7 @@ #include "flags.h" #include "ggc.h" #include "rtl.h" +#include "output.h" /* There routines provide a modular interface to perform many parsing operations. They may therefore be used during actual parsing, or @@ -46,6 +47,7 @@ static tree expand_cond PROTO((tree)); static tree maybe_convert_cond PROTO((tree)); +static tree simplify_aggr_init_exprs_r PROTO((tree *, int *, void *)); /* Record the fact that STMT was the last statement added to the statement tree. */ -- 2.7.4