diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-18 06:03:09 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-02-18 06:03:09 +0000 |
commit | 9c2c54dc94decb809d9c4c746ca0669b0a59696a (patch) | |
tree | 538d4e66e1606ba6bbf0f0cbc1d94be9d702ba11 /gcc | |
parent | 12fa82db7dcdad8d8fbe5a582216bd2b3667d529 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/print-tree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3bbf96b..e46bcd3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-02-17 Mark Mitchell <mark@codesourcery.com> + + * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not + looking at a BLOCK. + 2001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test, 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': |