This is the mail archive of the gcc@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: Proposed major change to combine


On Thu, Mar 08, 2001 at 09:52:10AM -0500, Richard Kenner wrote:
> I'd like to propose getting rid of the mechanisms where it tries to
> substitute things inside RTL and instead always make new RTL.  This costs
> most memory, but is less of an issue with GC.

Unless combine can manage its own free pool, or call garbage collect
explicitly, I worry about all of the extra memory involved will balloon the
compiler.  If the memory issue is addressed, I don't see a problem.

> Aside from making the code cleaner, the major advantage of this is that then
> all the simplification code in combine.c can be moved into simplify-rtx.c and
> all the other passes will benefit from it.
> 
> Any comments/objections?

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482


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