From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4160 invoked by alias); 12 Sep 2004 10:16:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4141 invoked by uid 48); 12 Sep 2004 10:16:55 -0000 Date: Sun, 12 Sep 2004 10:16:00 -0000 Message-ID: <20040912101655.4140.qmail@sourceware.org> From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040912055243.17431.yoav.frandzel@intel.com> References: <20040912055243.17431.yoav.frandzel@intel.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17431] [3.4/4.0 regression] Internal error: Segmentation fault (program cc1plus) X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg01195.txt.bz2 List-Id: ------- Additional Comments From reichelt at gcc dot gnu dot org 2004-09-12 10:16 ------- The code compiles fine with gcc 3.3.4 using about 50 MB without optimization and 100 MB with -O3. After adding a missing typename the code also compiles with gcc 3.4.0, using about 100 MB with -O3. It crashes however with gcc 3.4.1, 3.4.2 and mainline - consuming more than 1.5 GB even with -O0 before the crash. Given the speed of the memory allocation this looks like an infinite loop in the compiler. It's a regression on the 3.4 branch. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at codesourcery dot | |com, reichelt at gcc dot gnu | |dot org Severity|normal |critical Keywords| |ice-on-valid-code Known to fail| |3.4.1 3.4.2 Known to work| |3.3.4 3.4.0 Priority|P2 |P1 Summary|Internal error: Segmentation|[3.4/4.0 regression] |fault (program cc1plus) |Internal error: Segmentation | |fault (program cc1plus) Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17431