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

* [Bug debug/28547] Large compile time regression with -g
  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 ` 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
  2 siblings, 0 replies; 5+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2006-07-30 22:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pbrook at gcc dot gnu dot org  2006-07-30 22:53 -------
Created an attachment (id=11976)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11976&action=view)
Testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28547


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug debug/28547] Large compile time regression with -g
  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
  2 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jsm28 at gcc dot gnu dot org  2009-03-31 16:04 -------
What is observed with 4.3/4.4/4.5, and what is the baseline of expected time
from some previous release?

If there's a regression in 4.3/4.4/4.5, please add the [4.3/4.4/4.5 Regression]
marker to the bug summary and set an appropriate milestone.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28547


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug debug/28547] Large compile time regression with -g
  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
  2 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-07-15  7:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from steven at gcc dot gnu dot org  2009-07-15 07:36 -------
Paul, ping.  This is almost 3 years with zero progress.  If this is not an
issue in GCC 4.3 or later, then please close this PR.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28547


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug debug/28547] Large compile time regression with -g
       [not found] <bug-28547-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-10 16:15 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-10 16:15 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28547

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-10 16:15:18 UTC ---
No response.


^ permalink raw reply	[flat|nested] 5+ messages in thread

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).