[Bug c/19465] [IMA] Compiling multiple source files at a time gives redefinition errors

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 23:03:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-17 23:03 -------
(In reply to comment #5)
> Thanks Andrew. Is the memory problem also fixed?

The memory issue has been helped but not fully fixed, at least the last time I looked at memory usage 
with IMA.
> 
> I created a simpler example. 100 equal .c files each containing:
> 
> static void mainX() {}
> 
> where X varies from 1 to 10000. This gives me a slightly different behaviour. 
> Compiling only one of the files consumes about 60MB memory. Compiling all of 
> the 100 files consumes up to 142MB of memory. Then gcc crashes.

Actually using 142MBs is not bad since that 10000 * 100 functions which is not bad, Please file another 
bug for the memory issue over all.  There might be something which can be helped.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19465



More information about the Gcc-bugs mailing list