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
--
/*****************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) State Polytechnical Univ.
(_Y_.)' ._ ) `._ `. ``-..-' Radio-Physics Departament
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 5403923, 5585314
*****************************************************************/