aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-10-18 05:45:37 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-10-18 05:45:37 +0000
commit67673f5c5ba19b0012c518faa7aa7e3fc0a494b8 (patch)
treea423e6df5b432920d8f9fbe1c1a2321d11a04ed2 /gcc/c-common.h
parent265dab10ab0055accb4959a658f3c907d906b6fe (diff)
downloadgcc-67673f5c5ba19b0012c518faa7aa7e3fc0a494b8.zip
gcc-67673f5c5ba19b0012c518faa7aa7e3fc0a494b8.tar.gz
gcc-67673f5c5ba19b0012c518faa7aa7e3fc0a494b8.tar.bz2
c-common.c (back_end_hook): New variable.
* 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. From-SVN: r36928
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 2280b93..a4bd09e 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
+
+