This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/1687: Extreme compile time regression from 2.95.2


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]