diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-07 21:14:48 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-07 21:14:48 +0000 |
commit | 78a75ebdcef7a63f4bb95ef39795a99ed1d9786a (patch) | |
tree | 3614f193205349c343ee4e569d08b222253384a4 /gcc/print-tree.c | |
parent | 24bfa2345430b739a614f7d2949bd3b5c62bb26f (diff) | |
download | gcc-78a75ebdcef7a63f4bb95ef39795a99ed1d9786a.tar.gz |
* stmt.c (force_label_rtx): New function, based on logic
formerly found in expand_expr.
* expr.h: Prototype it.
* expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if
appropriate.
* varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx.
* print-tree.c (debug_tree): Free the table after we're done
with it. Use putc.
treelang:
* Make-lang.in: Set -Wno-error for treelang/lex.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index bb1230d24b4..b06de111456 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -52,8 +52,9 @@ debug_tree (node) { table = (struct bucket **) xcalloc (HASH_SIZE, sizeof (struct bucket *)); print_node (stderr, "", node, 0); + free (table); table = 0; - fprintf (stderr, "\n"); + putc ('\n', stderr); } /* Print a node in brief fashion, with just the code, address and name. */ |