aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-02-18 06:03:09 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-02-18 06:03:09 +0000
commit9c2c54dc94decb809d9c4c746ca0669b0a59696a (patch)
tree538d4e66e1606ba6bbf0f0cbc1d94be9d702ba11 /gcc/print-tree.c
parent12fa82db7dcdad8d8fbe5a582216bd2b3667d529 (diff)
downloadgcc-9c2c54dc94decb809d9c4c746ca0669b0a59696a.zip
gcc-9c2c54dc94decb809d9c4c746ca0669b0a59696a.tar.gz
gcc-9c2c54dc94decb809d9c4c746ca0669b0a59696a.tar.bz2
print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not looking at a BLOCK.
* print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not looking at a BLOCK. From-SVN: r39818
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 a367446..3bbea3f 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':