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]
Other format: [Raw text]

Re: tree-ssa branch: Call for preliminary testing


On Mon, 2003-05-12 at 08:56, Steven Bosscher wrote:
> Op ma 12-05-2003, om 14:43 schreef Diego Novillo:
> > On Sun, 2003-05-11 at 13:11, Richard Guenther wrote:

> Did you look at the GCC testing pages? http://gcc.gnu.org/testing.  You
> could try tree-ssa on the 5 C++ packages there and compare with mainline
> (only if the results look good, of course ;-)
> 
> 
> > > cc1plus: out of memory allocating 564784160 bytes after a total of 28152172 bytes
> > > Command exited with non-zero status 1
> > > 
> > > gcc-3.3 uses about 300MB on this.
> > > 
> > > No candy from me ;)
> > >
> > Oh, come on.  Memory is cheap! ;)
> > 
> > 
> 
> Diego,
> 
> Do you know where the memory increase comes from?
> 
> I was thinking of all the temporaries because each one of them needs a
> tree_decl (108 bytes each on ia32) and an identifier (64 bytes each for
> C++).  But I don't have the numbers, maybe you do?
> 

Without looking at it, I'd guess the out-of-ssa pass. We've only done
preliminary optimization of it since it isn't quite complete. It builds
an interference graph and allocates some bit vectors for live range
analysis. It looks like an attempt to allocate a big N x N bitvector.

As we finish the pass, we are attempting to reduce the size of things
which are allocated and worked on. Im doubt it will be hard to take care
of.

Andrew




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