This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19465] [IMA] Compiling multiple source files at a time gives redefinition errors
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2005 23:03:48 -0000
- Subject: [Bug c/19465] [IMA] Compiling multiple source files at a time gives redefinition errors
- References: <20050116000309.19465.ch@csh-consult.dk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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