This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c++/1687: Extreme compile time regression from 2.95.2
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: c++/1687: Extreme compile time regression from 2.95.2
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Tue, 20 Feb 2001 09:51:38 +0100 (CET)
- cc: <gcc-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>
On Mon, 19 Feb 2001, Zack Weinberg wrote:
>> * optimize.c: Include hashtab.h.
>> (struct inline_data): Add tree_pruner field.
>> (expand_call_inline, expand_calls_inline): Call walk_tree with
>> id->tree_pruner for fourth argument, putting it into
>> no-duplicates mode.
>> (optimize_function): Create and destroy a hash table for
>> duplicate pruning, store it in id.tree_pruner.
> I'd like to remind people that this patch has not yet been reviewed.
Does this also help memory consumption? Now that GCC is able to compile
our main C++ project again (after two months of breakage), memory usage
is going through the roof with -O1.
If you're interested, I'd be happy to send pre-processed source.
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/