From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11490 invoked by alias); 13 Jul 2009 19:37:32 -0000 Received: (qmail 11447 invoked by uid 48); 13 Jul 2009 19:37:17 -0000 Date: Mon, 13 Jul 2009 19:37:00 -0000 Subject: [Bug target/40735] New: [4.3/4.4 regression] memory hog compiling big functions with -fPIE X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "doko at ubuntu dot com" 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: 2009-07/txt/msg01050.txt.bz2 [forwarded from https://launchpad.net/bugs/398403] Building the attached file with gcc from the 4.4 branch with -g -fstack-protector -fPIE -Os, the build fails (killed by oom), last info seen is memory usage of about 1500mb. Building without -fPIE memory usage is limited around 700MB. Same behaviour for 4.3. With gcc-4.2 peak memory usage is with/without -fPIE below 400MB. Not checked on trunk, currently fails to build. -- Summary: [4.3/4.4 regression] memory hog compiling big functions with -fPIE Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at ubuntu dot com GCC target triplet: arm-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40735