From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18843 invoked by alias); 22 Dec 2012 19:58:02 -0000 Received: (qmail 18821 invoked by uid 48); 22 Dec 2012 19:57:47 -0000 From: "jan.smets@alcatel-lucent.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/55793] New: Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue) Date: Sat, 22 Dec 2012 19:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-12/txt/msg02223.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55793 Bug #: 55793 Summary: Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue) Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned@gcc.gnu.org ReportedBy: jan.smets@alcatel-lucent.com Created attachment 29029 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29029 testcase Following testcase takes a very long time to compile when debugging info is enabled. The 'real life' scenario contained around 900 entries. The testcase is reduced to 500. With more than 500 entries -> variable tracking size limit exceeded. gcc -c test.c -o test.o -O2 -gdwarf-4 -fno-builtin