This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/44563] GCC uses a lot of RAM when compiling a large numbers of functions
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Mar 2015 08:35:31 +0000
- Subject: [Bug tree-optimization/44563] GCC uses a lot of RAM when compiling a large numbers of functions
- Auto-submitted: auto-generated
- References: <bug-44563-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563
--- Comment #21 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 10 Mar 2015, hubicka at ucw dot cz wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563
>
> --- Comment #19 from Jan Hubicka <hubicka at ucw dot cz> ---
> Hmm, it is definitely wasteful to call the call stmt redirection so many times
> - it only needs
> to be called once per statement. We probably could call it only on newly
> introduced BBs, I will
> take a look.
Ah - stupid error on my part producing the "obvious" patch (and not
seeing the bogus need_debug_cleanup guard...)
Testing the proper patch.