From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13437 invoked by alias); 30 Jul 2006 22:51:16 -0000 Received: (qmail 13421 invoked by uid 48); 30 Jul 2006 22:51:09 -0000 Date: Sun, 30 Jul 2006 22:51:00 -0000 Subject: [Bug debug/28547] New: Large compile time regression with -g X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pbrook at gcc dot gnu dot org" 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 X-SW-Source: 2006-07/txt/msg02311.txt.bz2 List-Id: The attached code shows a large (between 2x and 10x) increase in compile time when compiled with -g. With gcc head "-g -O" -ftime-report says: symout : 14.26 (59%) usr 0.09 (24%) sys 15.35 (59%) wall 13879 kB (17%) ggc variable tracking : 0.86 ( 4%) usr 0.03 ( 8%) sys 0.89 ( 3%) wall 28140 kB (34%) ggc With gcc 4.1 even larger slowdowns are also observable with "-O2 -g" and "-O2 -g -fomit-frrame-pointer". These don't seem to occur with head -- Summary: Large compile time regression with -g Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pbrook at gcc dot gnu dot org GCC target triplet: arm-none-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28547