This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 10776 II
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Sat, 10 Jan 2004 21:11:35 +0100
- Subject: Re: PR 10776 II
- References: <20040110200349.GQ1964@kam.mff.cuni.cz>
> Hi,
> With -O2 I still get explosion, this time in scheduler. Mainline gets
> out of memory after allocating 1GB for dependency chains, 3.0.4 just
> loops forever sorting the insn queue.
> The explosion is a but I will try to solve later caused by fact that we
This is work limiting check:
if (deps->pending_lists_length > MAX_PENDING_LIST_LENGTH)
{
/* Flush all pending reads and writes to prevent the pending lists
from getting any larger. Insn scheduling runs too slowly when
these lists get long. When compiling GCC with itself,
this flush occurs 8 times for sparc, and 10 times for m88k using
the default value of 32. */
This looks resonable (without it we spend all the time looking for
dependencies) so I am not going to try to look into this much further
Honza