This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12245] Crashes when compiling large initialized arrays
- From: "barrabas at barrabas dot mv dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2003 19:28:40 -0000
- Subject: [Bug c/12245] Crashes when compiling large initialized arrays
- References: <20030911065615.12245.gccBug.9.OkianWarrior@SpamGourmet.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245
------- Additional Comments From barrabas at barrabas dot mv dot com 2003-09-11 19:28 -------
Subject: Re: Crashes when compiling large initialized arrays (gccBug: message 3 of 9)
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-11 15:53 -------
> Please attach the preprocessed files to this bug.
I would guess that the bug is caused by:
1) The compiler allocates lots of storage for intermediate results.
2) Virtual memory gets used up, and the next allocations fails.
3) The allocation is not checked, leading to eventual failure.
R. Barrabas
==================================================
Dictatorship (n): a form of government under which everything
which is not prohibited is compulsory.