public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/28547]  New: Large compile time regression with -g
@ 2006-07-30 22:51 pbrook at gcc dot gnu dot org
  2006-07-30 22:53 ` [Bug debug/28547] " pbrook at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2006-07-30 22:51 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <bug-28547-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-01-10 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-30 22:51 [Bug debug/28547] New: Large compile time regression with -g pbrook at gcc dot gnu dot org
2006-07-30 22:53 ` [Bug debug/28547] " pbrook at gcc dot gnu dot org
2009-03-31 16:04 ` jsm28 at gcc dot gnu dot org
2009-07-15  7:36 ` steven at gcc dot gnu dot org
     [not found] <bug-28547-4@http.gcc.gnu.org/bugzilla/>
2012-01-10 16:15 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).