summaryrefslogtreecommitdiff
path: root/gcc/cp/dump.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/cp/dump.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/cp/dump.c')
-rw-r--r--gcc/cp/dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index 9b711062070..83c7db06058 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -555,6 +555,9 @@ dequeue_and_dump (di)
if (DECL_FIELD_OFFSET (t))
dump_child ("bpos", bit_position (t));
}
+ else if (TREE_CODE (t) == VAR_DECL
+ || TREE_CODE (t) == PARM_DECL)
+ dump_int (di, "used", TREE_USED (t));
break;
case FUNCTION_DECL: