From 9c2c54dc94decb809d9c4c746ca0669b0a59696a Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 18 Feb 2001 06:03:09 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/print-tree.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3bbf96baf3b..e46bcd31bb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-02-17 Mark Mitchell + + * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not + looking at a BLOCK. + 2001-02-17 Kaveh R. Ghazi * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test, 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': -- 2.30.2