This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/1053: g++ runs out of memory on Really Simple Input
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1053: g++ runs out of memory on Really Simple Input
- From: gustav at virtutech dot se
- Date: 12 Dec 2000 21:16:02 -0000
- Cc: mattias at virtutech dot se
- Reply-To: gustav at virtutech dot se
>Number: 1053
>Category: c++
>Synopsis: g++ runs out of memory on Really Simple Input
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Dec 12 13:26:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: gustav@virtutech.se
>Release: gcc version 2.97 20001205 (experimental)
>Organization:
>Environment:
Linux 2.2.16-22 #1 i686 unknown
>Description:
g++ runs out of memory when given a class containing a large array member.
>How-To-Repeat:
Compile the following with g++:
class foo {
char bar[0x400000];
};
>Fix:
Compile with gcc instead (weird, huh?)
>Release-Note:
>Audit-Trail:
>Unformatted: