summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-09 00:47:05 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-09 00:47:05 +0000
commitc131e678cadd24a3282cf4835972e185c9e4a053 (patch)
tree8b288d10d2c8cf110317fdcfab54fc70ab7a2ec6 /gcc/toplev.h
parentf6e963941102a92ff8212f15a91e799b12e641f5 (diff)
downloadgcc-c131e678cadd24a3282cf4835972e185c9e4a053.tar.gz
PR debug/23190
* toplev.c (wrapup_global_declaration_1): Split out ... (wrapup_global_declaration_2): ... from ... (wrapup_global_declarations): ... here. Return bool. (check_global_declaration_1): Split out ... (check_global_declarations): from here. (emit_debug_global_declarations): New. * toplev.h (wrapup_global_declaration_1, wrapup_global_declaration_2, check_global_declaration_1, emit_debug_global_declarations): Declare. * c-decl.c (c_write_global_declarations_1): Don't create a vector of decls. Call wrapup_global_declaration_1, wrapup_global_declaration_2, check_global_declaration_1 directly. (c_write_global_declarations_2): New. (ext_block): New. (c_write_global_declarations): Call c_write_global_declarations_2. * langhooks.c (write_global_declarations): Call emit_debug_global_declarations. * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Don't remove decls that have DECL_RTL_SET_P. * passes.c (rest_of_decl_compilation): Invoke cgraph_varpool_finalize_decl for all but functions. cp/ * decl.c (wrapup_globals_for_namespace): Call emit_debug_global_declarations. * decl2.c (cp_finish_file): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104065 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index e293c9ec25a..35d53eb8d6c 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -92,8 +92,12 @@ extern void fnotice (FILE *, const char *, ...)
ATTRIBUTE_PRINTF_2;
#endif
-extern int wrapup_global_declarations (tree *, int);
+extern void wrapup_global_declaration_1 (tree);
+extern bool wrapup_global_declaration_2 (tree);
+extern bool wrapup_global_declarations (tree *, int);
+extern void check_global_declaration_1 (tree);
extern void check_global_declarations (tree *, int);
+extern void emit_debug_global_declarations (tree *, int);
extern void write_global_declarations (void);
/* A unique local time stamp, might be zero if none is available. */