aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.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/emit-rtl.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/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 66b1f7e..3929e88 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -4008,6 +4008,12 @@ init_emit_once (line_numbers)
enum machine_mode mode;
enum machine_mode double_mode;
+ /* Initialize the CONST_INT hash table. */
+ const_int_htab = htab_create (37, const_int_htab_hash,
+ const_int_htab_eq, NULL);
+ ggc_add_root (&const_int_htab, 1, sizeof (const_int_htab),
+ rtx_htab_mark);
+
no_line_numbers = ! line_numbers;
/* Compute the word and byte modes. */
@@ -4191,12 +4197,6 @@ init_emit_once (line_numbers)
ggc_add_rtx_root (&static_chain_rtx, 1);
ggc_add_rtx_root (&static_chain_incoming_rtx, 1);
ggc_add_rtx_root (&return_address_pointer_rtx, 1);
-
- /* Initialize the CONST_INT hash table. */
- const_int_htab = htab_create (37, const_int_htab_hash,
- const_int_htab_eq, NULL);
- ggc_add_root (&const_int_htab, 1, sizeof (const_int_htab),
- rtx_htab_mark);
}
/* Query and clear/ restore no_line_numbers. This is used by the