This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix compile/memory hog in the combiner (PR rtl-optimization/69592)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Bernd Schmidt <bschmidt at redhat dot com>
- Cc: Jeff Law <law at redhat dot com>, Segher Boessenkool <segher at kernel dot crashing dot org>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 3 Feb 2016 18:09:01 +0100
- Subject: Re: [PATCH] Fix compile/memory hog in the combiner (PR rtl-optimization/69592)
- Authentication-results: sourceware.org; auth=none
- References: <20160201203449 dot GN3017 at tucnak dot redhat dot com> <56AFEF4F dot 6020704 at redhat dot com> <20160202085934 dot GO3017 at tucnak dot redhat dot com> <56B233CD dot 4000500 at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Feb 03, 2016 at 06:07:25PM +0100, Bernd Schmidt wrote:
> On 02/02/2016 09:59 AM, Jakub Jelinek wrote:
>
> >I wonder if it wouldn't be better to pass around some structure, containing
> >for the common case fixed size cache and perhaps fall back to hash_map if
> >there are more calls to cache than that. Plus perhaps a recursion depth, so
> >that we avoid other pathological cases.
>
> I had the same thought. Maybe for stage1?
Yeah.
Jakub