summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-18 05:45:37 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-18 05:45:37 +0000
commit7769507025585f23d219c94422537235e4148a1c (patch)
treea423e6df5b432920d8f9fbe1c1a2321d11a04ed2 /gcc/c-common.h
parent09a5cc038ef9ea404221937743665555871016d8 (diff)
downloadgcc-7769507025585f23d219c94422537235e4148a1c.tar.gz
* c-common.c (back_end_hook): New variable.
* c-common.h (back_end_hook): Declare it. * c-lang.c (finish_file): Use it. * emit-rtl.c (init_emit_once): Initialize the const_int_htab earlier. * cp-tree.h (back_end_hook): Remove declaration. * decl2.c (back_end_hook): Remove definition. * dump.c (dequeue_and_dump): Dump TREE_USED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36928 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 2280b93a93e..a4bd09e9274 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -697,6 +697,12 @@ extern tree c_add_case_label PARAMS ((splay_tree,
extern tree build_function_call PARAMS ((tree, tree));
+/* If this variable is defined to a non-NULL value, it will be called
+ after the file has been completely parsed. The argument will be
+ the GLOBAL_NAMESPACE in C++, or the list of top-level declarations
+ in C. */
+extern void (*back_end_hook) PARAMS ((tree));
+
#ifdef RTX_CODE
extern struct rtx_def *c_expand_expr PARAMS ((tree, rtx,
@@ -720,3 +726,5 @@ struct c_fileinfo *get_fileinfo PARAMS ((const char *));
extern void dump_time_statistics PARAMS ((void));
#endif
+
+