On Tue, Nov 04, 2003 at 12:46:59PM +0300, Dmitry wrote: > Fellows, > some strange gcc memory leak discovered. > > The problem: > if the source is over 10000 (ten thousand lines), sometimes global GCCs vars > being corrupted after memory reallocation (mainly hardware multiplier related > stuff).I do not know if this is a main gccs problem or msp430 ports one. > > The solution is relativly simple -- break huge files into series of smaller > ones, say up to 5000 lines. > > I'll keep watching this problem. > > Steve, please document this. > > cheers, > ~d
Hi Dmitry, When you say "the source is over 10000 lines" what do you want to mean? - number of lines of "file.c" or - number of lines of file.c + the included files.h Which one is right? Thanks, Pedro