summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
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.c
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.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 2fb63fde5a0..72118c8f8d8 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -158,6 +158,10 @@ int (*lang_statement_code_p) PARAMS ((enum tree_code));
any action required right before expand_function_end is called. */
void (*lang_expand_function_end) PARAMS ((void));
+/* If this variable is defined to a non-NULL value, it will be called
+ after the file has been completely parsed. */
+void (*back_end_hook) PARAMS ((tree));
+
/* Nonzero means the expression being parsed will never be evaluated.
This is a count, since unevaluated expressions can nest. */
int skip_evaluation;