This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12850] [3.4 Regression] memory consumption for heavy template instantiations tripled since 3.3
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2004 11:37:35 -0000
- Subject: [Bug c++/12850] [3.4 Regression] memory consumption for heavy template instantiations tripled since 3.3
- References: <20031030234001.12850.jens.maurer@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hubicka at ucw dot cz 2004-01-14 11:37 -------
Subject: Re: [3.4 Regression] memory consumption for heavy template instantiations tripled since 3.3
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-19 08:43 -------
> It goes up to abot >480MB on powerpc-apple-darwin, then drops to around 250MB.
I can get about 30MB at -O0, for unit-at-a-time we however still needs
250MB, this is the size of all templates instantiated together. I don't
think we can reduce this for 3.4 further and it is no longer regression,
in the future we may make trees more compact. This testcase has also
interesting runtime properties, Mark may want to look at the
for_each_template_param_r problem.
Honza
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850