This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 10776 II


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]