From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28624 invoked by alias); 18 May 2008 23:06:36 -0000 Received: (qmail 28365 invoked by uid 48); 18 May 2008 23:05:53 -0000 Date: Sun, 18 May 2008 23:06:00 -0000 Subject: [Bug c/36262] New: Extreme memory usage compared to older versions X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hakonrk at fys dot uio dot no" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg01345.txt.bz2 While compiling the NES emulator FCE Ultra for my new Fedora 9 system (x86-64), I noticed that gcc 4.3.0 (or at least Fedora's version of it) used so much memory on some of the files that my system almost crashed. The preprocessed source code that trigger this bug is attached here. This seems to be a regression, as I have not been able to reproduce it on Fedora's gcc 3.4.6 (compat-gcc-34-3.4.6-9.x86_64), nor on gcc 4.1.2 on my old system (Slackware 12). I search for other memory related bugs in gcc 4.3, and found a couple that mention similar problems, so it's possible (or even probable) that this is a duplicate. I'm not sure, though, so I've created this bug report just so you can take a quick look at the problem and dismiss it if there's nothing new here. Sorry about the length of the code that reproduces the bug, by the way. It's a 20 thousand line file with, what looks like, machine-generated C code. -- Summary: Extreme memory usage compared to older versions Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hakonrk at fys dot uio dot no http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36262