aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
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.c
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.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 2fb63fd..72118c8f8 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;