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: [patch] tree-cfg.c: Reduce the amount of memory allocated inthread_jumps.


On Thu, 2004-12-02 at 10:26 -0500, Kazu Hirata wrote:
> Hi,
> 
> Attached is a patch to reduce the amount of memory allocated in
> thread_jumps.
> 
> In thread_jumps, we make sure that no duplicate basic block is entered
> into WORKLIST.  We never put ENTRY_BLOCK_PTR or EXIT_BLOCK_PTR,
> either, so WORKLIST with N_BASIC_BLOCKS entries is big enough.
> 
> Tested on i686-pc-linux-gnu.  OK to apply?
> 
> p.s.
> This patch is also a part of Zdenek's patch to fix PR 18601.
> 
> http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02089.html
> 
> Kazu Hirata
> 
> 2004-12-02  Kazu Hirata  <kazu@cs.umass.edu>
> 
> 	* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
Approved.

FWIW, I do want to get Zdenek's patch installed -- I just haven't 
had a chance to look closely at it yet.
jeff
=


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