diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-09-06 05:52:51 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-09-06 05:52:51 +0000 |
commit | 11f53b6a0879e853b8aa3e12b81b56f1582c38f6 (patch) | |
tree | 70e50e84e9a226d6722859ba63eba0a30b37d9c9 /install-sh | |
parent | 3392dafcfdcbe74f8c60e14fa0f3ea73363552ab (diff) | |
download | gcc-11f53b6a0879e853b8aa3e12b81b56f1582c38f6.zip gcc-11f53b6a0879e853b8aa3e12b81b56f1582c38f6.tar.gz gcc-11f53b6a0879e853b8aa3e12b81b56f1582c38f6.tar.bz2 |
tree.c (walk_tree): Expose tail recursion.
* tree.c (walk_tree): Expose tail recursion.
(walk_stmt_tree): New function.
* cp-tree.h: Prototype walk_stmt_tree.
* semantics.c (prune_unused_decls): Operate on SCOPE_STMTs not
the BLOCKs directly. If a BLOCK has no variables after
pruning, discard it.
(finish_stmt_tree): Use walk_stmt_tree. No need to save and
restore the line number.
From-SVN: r36178
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions