public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42911]  New: another compiler hang for -g -O2
@ 2010-01-31 10:55 dcb314 at hotmail dot com
  2010-01-31 10:56 ` [Bug c++/42911] " dcb314 at hotmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2010-01-31 10:55 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the package kile-2.1beta2-3.19 with the GNU
C++ compiler version 4.5 snapshot 20100128 and the compiler seemed
to take a long time over the compilation.

It ran for over 20 minutes on an idle 2.7 GHz AMD Athlon without
finishing.

Preprocessed source code attached. Flags -g -O2 required.

I am not sure if this bug report is the same or different to #41371.


-- 
           Summary: another compiler hang for -g -O2
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c++/42911] another compiler hang for -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
@ 2010-01-31 10:56 ` dcb314 at hotmail dot com
  2010-01-31 13:51 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2010-01-31 10:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2010-01-31 10:56 -------
Created an attachment (id=19762)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19762&action=view)
gzipped C++ source code


-- 


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


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

* [Bug c++/42911] another compiler hang for -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
  2010-01-31 10:56 ` [Bug c++/42911] " dcb314 at hotmail dot com
@ 2010-01-31 13:51 ` rguenth at gcc dot gnu dot org
  2010-02-07 20:29 ` [Bug c++/42911] [4.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-31 13:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-01-31 13:51 -------
I think it is related.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |41371
            Summary|another compiler hang for -g|another compiler hang for -g
                   |-O2                         |-O2


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


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

* [Bug c++/42911] [4.5 Regression] another compiler hang for -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
  2010-01-31 10:56 ` [Bug c++/42911] " dcb314 at hotmail dot com
  2010-01-31 13:51 ` rguenth at gcc dot gnu dot org
@ 2010-02-07 20:29 ` pinskia at gcc dot gnu dot org
  2010-02-11 16:53 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-07 20:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |compile-time-hog
            Summary|another compiler hang for -g|[4.5 Regression] another
                   |-O2                         |compiler hang for -g -O2
   Target Milestone|---                         |4.5.0


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


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

* [Bug c++/42911] [4.5 Regression] another compiler hang for -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2010-02-07 20:29 ` [Bug c++/42911] [4.5 Regression] " pinskia at gcc dot gnu dot org
@ 2010-02-11 16:53 ` rguenth at gcc dot gnu dot org
  2010-02-11 23:44 ` [Bug c++/42911] [4.5 Regression] huge compile time with " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-11 16:53 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/42911] [4.5 Regression] huge compile time with -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2010-02-11 16:53 ` rguenth at gcc dot gnu dot org
@ 2010-02-11 23:44 ` pinskia at gcc dot gnu dot org
  2010-02-15 13:52 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-11 23:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-02-11 23:44 -------
It does not hang for me but it is definitely much slower with -g:
 variable tracking     :  57.85 (77%) usr   0.69 (39%) sys  58.60 (77%) wall  
22951 kB ( 6%) ggc

Note this with checking enabled.  So I don't know if the numbers will be that
bad for the release.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-11 23:44:23
               date|                            |
            Summary|[4.5 Regression] another    |[4.5 Regression] huge
                   |compiler hang for -g -O2    |compile time with -g -O2


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


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

* [Bug c++/42911] [4.5 Regression] huge compile time with -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2010-02-11 23:44 ` [Bug c++/42911] [4.5 Regression] huge compile time with " pinskia at gcc dot gnu dot org
@ 2010-02-15 13:52 ` jakub at gcc dot gnu dot org
  2010-02-24 23:15 ` [Bug debug/42911] " jason at gcc dot gnu dot org
  2010-03-15 15:20 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-02-15 13:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2010-02-15 13:52 -------
This is something http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01015.html
patch with a default limit like 50000000 cures.  The function is simple too
huge after all the inlining for var-tracking purposes.


-- 


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


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

* [Bug debug/42911] [4.5 Regression] huge compile time with -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2010-02-15 13:52 ` jakub at gcc dot gnu dot org
@ 2010-02-24 23:15 ` jason at gcc dot gnu dot org
  2010-03-15 15:20 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-24 23:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jason at gcc dot gnu dot org  2010-02-24 23:14 -------
Changing component to debug.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |debug


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


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

* [Bug debug/42911] [4.5 Regression] huge compile time with -g -O2
  2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
                   ` (6 preceding siblings ...)
  2010-02-24 23:15 ` [Bug debug/42911] " jason at gcc dot gnu dot org
@ 2010-03-15 15:20 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-15 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-03-15 15:20 -------
Fixed.  Or rather, duplicate of 41371.

*** This bug has been marked as a duplicate of 41371 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2010-03-15 15:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-31 10:55 [Bug c++/42911] New: another compiler hang for -g -O2 dcb314 at hotmail dot com
2010-01-31 10:56 ` [Bug c++/42911] " dcb314 at hotmail dot com
2010-01-31 13:51 ` rguenth at gcc dot gnu dot org
2010-02-07 20:29 ` [Bug c++/42911] [4.5 Regression] " pinskia at gcc dot gnu dot org
2010-02-11 16:53 ` rguenth at gcc dot gnu dot org
2010-02-11 23:44 ` [Bug c++/42911] [4.5 Regression] huge compile time with " pinskia at gcc dot gnu dot org
2010-02-15 13:52 ` jakub at gcc dot gnu dot org
2010-02-24 23:15 ` [Bug debug/42911] " jason at gcc dot gnu dot org
2010-03-15 15:20 ` rguenth at gcc dot gnu dot 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).