This is the mail archive of the gcc-help@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[2]: Extremely long compile times


Thanks, much, John.

Moving the variables outside of "main" fixed the problem.

Thanks again.
Charles

On Mon, 21 Oct 2002 09:13:01 +1300 (NZDT) John Carter <john.carter@tait.co.nz> wrote:

> On Fri, 18 Oct 2002, Charles wrote:
> 
> > I've tried this with both gcc 3.1.1 and gcc 3.2.  This particular
> program
> > takes over 2 hours to compile.  
> 
... 
> It could be that gcc is doing a linear search somewhere under the 
> expectation that there aren't a huge number of local variables. Can you 
> try break it up into smaller compilation units?



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