This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: A recent patch increased GCC's memory consumption!
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcctest at suse dot de, gcc-regression at gcc dot gnu dot org
- Date: Sat, 16 Jul 2005 22:40:16 +0000 (UTC)
- Subject: Re: A recent patch increased GCC's memory consumption!
- References: <42D97591.mailNVZ11WM48@suse.de> <20050716215023.GF23659@kam.mff.cuni.cz>
On Sat, 16 Jul 2005, Jan Hubicka wrote:
> Joseph,
> any idea why the patch increased memory by up to 18%?
It should if anything have reduced memory consumption by causing fewer
types to be allocated - you'll need to give more details of what sort of
objects there are more of being allocated and where they are being
allocated.
One possibility might be that the optimizers are working better now they
have fewer integer types with the same width, and this causes them to
allocate more memory - but if so, the places where the optimizers care
about which of multiple types with the same width is being used would be
worth tracking down, as this could also apply with e.g. int and long, not
just with bit-field types.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)