This is the mail archive of the gcc@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]

Re: High memory consumption compiling syntax.c


Eli Zaretskii wrote:-

> Unfortunately, I don't know enough about GCC internals to see what
> part(s) of syntax.c are the ones which cause such a high consumption
> of memory.  Could someone in the know please take a look at syntax.c
> and suggest which parts should I try to rewrite and in what way?

Which compiler is causing the problem?  3.0 and 3.0.1 had problems
with runaway memory consumption if there is a lot of macro expansion
(it could easily chew up 10 to 20 Megs).  That was fixed in 3.0.2;
maybe you could try that?

3.1's CPP uses less memory still.

Neil.


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