optimize.c: Include hashtab.h.
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 25 Apr 2001 00:07:07 +0000 (00:07 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 25 Apr 2001 00:07:07 +0000 (00:07 +0000)
commit11fe225ab2dbce69a345f63f4e608ab837a07703
tree6ddcc730090f9a47c260cecab3b03657f2ca5830
parent5ec89e892cdd8c2d84b71d2e5f0fcc681aaf0b81
optimize.c: Include hashtab.h.

* cp/optimize.c: Include hashtab.h.
(struct inline_data): Add tree_pruner.
(expand_call_inline, expand_calls_inline): Use it when calling
walk_tree.
(optimize_function): Initialize and free tree_pruner.

* g++.old-deja/g++.other/perf1.C: New test.

From-SVN: r41525
gcc/cp/ChangeLog
gcc/cp/optimize.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/perf1.C [new file with mode: 0644]