summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-18 06:03:09 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-18 06:03:09 +0000
commit4c71ff3859df863c5610b1ee9317f25db462fb17 (patch)
tree538d4e66e1606ba6bbf0f0cbc1d94be9d702ba11 /gcc/print-tree.c
parent6ba2d1cf135fb7c2470158d09b7c66f817c02a8a (diff)
downloadgcc-4c71ff3859df863c5610b1ee9317f25db462fb17.tar.gz
* print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
looking at a BLOCK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39818 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index a3674468f4f..3bbea3f52f0 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -641,7 +641,7 @@ print_node (file, prefix, node, indent)
EXPR_WFL_FILENAME (node) : "(no file info)"),
EXPR_WFL_LINENO (node), EXPR_WFL_COLNO (node));
}
- print_node (file, "chain", BLOCK_CHAIN (node), indent + 4);
+ print_node (file, "chain", TREE_CHAIN (node), indent + 4);
break;
case 'c':