From 54f92bfbb17e43051537d99416c04fcea321e6ac Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Wed, 6 May 1998 05:01:35 +0000 Subject: [PATCH] call.c, [...]: Add include of toplev.h. Wed May 6 06:36:41 1998 Robert Lipe * cp/call.c, cp/class.c, cp/decl.c, cp/decl2.c, cp/errfn.c, cp/error.c, cp/except.c, cp/expr.c, cp/friend.c, cp/init.c, cp/lex.c, cp/method.c, cp/pt.c, cp/repo.c, cp/rtti.c, cp/search.c, cp/semantics.c, cp/sig.c, cp/tree.c, cp/typeck.c, cp/typeck2.c, cp/xref.c: Add include of toplev.h. From-SVN: r19565 --- gcc/cp/call.c | 1 + gcc/cp/class.c | 1 + gcc/cp/decl.c | 1 + gcc/cp/decl2.c | 1 + gcc/cp/errfn.c | 2 ++ gcc/cp/error.c | 1 + gcc/cp/except.c | 1 + gcc/cp/expr.c | 1 + gcc/cp/friend.c | 1 + gcc/cp/init.c | 1 + gcc/cp/lex.c | 1 + gcc/cp/method.c | 1 + gcc/cp/pt.c | 1 + gcc/cp/repo.c | 1 + gcc/cp/rtti.c | 1 + gcc/cp/search.c | 1 + 16 files changed, 17 insertions(+) diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 0c4326c81d1..c7eaed4ae7f 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "flags.h" #include "rtl.h" +#include "toplev.h" #include "obstack.h" #define obstack_chunk_alloc xmalloc diff --git a/gcc/cp/class.c b/gcc/cp/class.c index fc1c675ff78..5eafaa2fbf0 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */ #include "flags.h" #include "rtl.h" #include "output.h" +#include "toplev.h" #include "obstack.h" #define obstack_chunk_alloc xmalloc diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index ede5d3cc14e..374d4e1bad7 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */ #include "defaults.h" #include "output.h" #include "except.h" +#include "toplev.h" #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index ac96d24bdcf..951db695a5e 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -39,6 +39,7 @@ Boston, MA 02111-1307, USA. */ #include "except.h" #include "expr.h" #include "defaults.h" +#include "toplev.h" static tree get_sentry PROTO((tree)); static void mark_vtable_entries PROTO((tree)); diff --git a/gcc/cp/errfn.c b/gcc/cp/errfn.c index 2b97cdbf62a..4ce8d406f69 100644 --- a/gcc/cp/errfn.c +++ b/gcc/cp/errfn.c @@ -22,6 +22,8 @@ Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "tree.h" +#include "toplev.h" + #ifdef __STDC__ #include #else diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 18c82a1da46..31932b4eb8c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */ #include "tree.h" #include "cp-tree.h" #include "obstack.h" +#include "toplev.h" typedef char* cp_printer (); diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 0a6bb3386f9..3c54fa403da 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -34,6 +34,7 @@ Boston, MA 02111-1307, USA. */ #include "except.h" #include "function.h" #include "defaults.h" +#include "toplev.h" rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx)); diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c index c8617dace0f..4c3d8b602ce 100644 --- a/gcc/cp/expr.c +++ b/gcc/cp/expr.c @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ #include "flags.h" #include "expr.h" #include "cp-tree.h" +#include "toplev.h" #if 0 static tree extract_aggr_init PROTO((tree, tree)); diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c index e5d1ccf0ed2..8538ba362fe 100644 --- a/gcc/cp/friend.c +++ b/gcc/cp/friend.c @@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */ #include "cp-tree.h" #include "flags.h" #include "output.h" +#include "toplev.h" static void add_friend PROTO((tree, tree)); static void add_friends PROTO((tree, tree, tree)); diff --git a/gcc/cp/init.c b/gcc/cp/init.c index d95de78206a..13472c4ef68 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "except.h" #include "expr.h" +#include "toplev.h" extern void compiler_error (); diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 93a2891f260..48b63606373 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -36,6 +36,7 @@ Boston, MA 02111-1307, USA. */ #include "flags.h" #include "obstack.h" #include "c-pragma.h" +#include "toplev.h" /* MULTIBYTE_CHARS support only works for native compilers. ??? Ideally what we want is to model widechar support after diff --git a/gcc/cp/method.c b/gcc/cp/method.c index bae852d28e9..a85ecda36ff 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "hard-reg-set.h" #include "flags.h" +#include "toplev.h" /* TREE_LIST of the current inline functions that need to be processed. */ diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index d1a24464fc9..c36828dd8de 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -38,6 +38,7 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "defaults.h" #include "except.h" +#include "toplev.h" /* The type of functions taking a tree, and some additional data, and returning an int. */ diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index ed682331515..a1ac79ccef9 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -31,6 +31,7 @@ Boston, MA 02111-1307, USA. */ #include "cp-tree.h" #include "input.h" #include "obstack.h" +#include "toplev.h" extern char *getpwd PROTO((void)); diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 8b9b3151039..4dc02ee878a 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ #include "flags.h" #include "output.h" #include "assert.h" +#include "toplev.h" #ifndef INT_TYPE_SIZE #define INT_TYPE_SIZE BITS_PER_WORD diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 820dbf1257f..714469210e0 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */ #include "flags.h" #include "rtl.h" #include "output.h" +#include "toplev.h" #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free -- 2.30.2