From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Per Bothner Cc: egcs@cygnus.com Subject: Re: Proposed new tree node for gcc Date: Tue, 31 Mar 1998 00:46:00 -0000 Message-id: <14754.891330188@hurl.cygnus.com> References: <199803280914.BAA22817@cygnus.com> X-SW-Source: 1998-03/msg01059.html In message < 199803280914.BAA22817@cygnus.com >you write: > One might say that this is excessive or premature space optimization. > However, we know that many large compiles have problems due to large > memory usage, so we might as well be economical, especially when > there is no real reason not to be. The vast majority of the memory usage problems have been in the optimizers -- usually due to the need to allocate 1d and 2d arrays based on register #s or INSN_UIDs. I think the only time we've had any significant problems with the tree space was when we used to have -fcombine-statics, which went around copying nodes from temporary trees into permanent trees. I'd kinda prefer to wait until we know that we're causing a memory issues before making a hack like is being suggested. jeff