public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
@ 2008-04-07 14:58 ` pluto at agmk dot net
  2008-04-07 14:59 ` pluto at agmk dot net
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-04-07 14:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pluto at agmk dot net  2008-04-07 14:58 -------
Created an attachment (id=15439)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15439&action=view)
4.1 stats.


-- 


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


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

* [Bug other/35858]  New: time/memory hog for large c++ source.
@ 2008-04-07 14:58 pluto at agmk dot net
  2008-04-07 14:58 ` [Bug other/35858] " pluto at agmk dot net
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-04-07 14:58 UTC (permalink / raw)
  To: gcc-bugs

i've checked 4.1 vs 4.3 on my c++ codebase and 4.3 doesn't look good.
more time/mem details are in attached logs.

testcase was compiled with following options:
-m32 -D_STLP_DEBUG -D_STLP_DEBUG_MODE_THROWS -D_DEBUG -pthread \
-Wall -Wno-uninitialized -Woverloaded-virtual  -Werror \
-march=i686 -mtune=pentium4 -O1 -gdwarf-2 -g2 -fPIC


-- 
           Summary: time/memory hog for large c++ source.
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: i486-gnu-linux


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
  2008-04-07 14:58 ` [Bug other/35858] " pluto at agmk dot net
@ 2008-04-07 14:59 ` pluto at agmk dot net
  2008-04-07 15:00 ` pluto at agmk dot net
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-04-07 14:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pluto at agmk dot net  2008-04-07 14:58 -------
Created an attachment (id=15440)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15440&action=view)
4.3 stats.


-- 


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
  2008-04-07 14:58 ` [Bug other/35858] " pluto at agmk dot net
  2008-04-07 14:59 ` pluto at agmk dot net
@ 2008-04-07 15:00 ` pluto at agmk dot net
  2008-04-07 15:30 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-04-07 15:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pluto at agmk dot net  2008-04-07 14:59 -------
Created an attachment (id=15441)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15441&action=view)
testcase for 4.3.


-- 


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2008-04-07 15:00 ` pluto at agmk dot net
@ 2008-04-07 15:30 ` rguenth at gcc dot gnu dot org
  2008-04-07 20:26 ` pluto at agmk dot net
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-07 15:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-04-07 15:29 -------
Please try --param max-fields-for-field-sensitive=0


-- 


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2008-04-07 15:30 ` rguenth at gcc dot gnu dot org
@ 2008-04-07 20:26 ` pluto at agmk dot net
  2008-04-08 10:05 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-04-07 20:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pluto at agmk dot net  2008-04-07 20:25 -------
(In reply to comment #4)
> Please try --param max-fields-for-field-sensitive=0
> 

it helps.

 TOTAL    :  67.59   3.99   71.69     1220782 kB


-- 


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2008-04-07 20:26 ` pluto at agmk dot net
@ 2008-04-08 10:05 ` rguenth at gcc dot gnu dot org
  2008-04-08 16:50 ` pluto at agmk dot net
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-08 10:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-04-08 10:04 -------
We'll not be able to fix this for 4.3 (the regression is caused by a
correctness
fix), but 4.4 will have this param setting as default.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-08 10:04:33
               date|                            |


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2008-04-08 10:05 ` rguenth at gcc dot gnu dot org
@ 2008-04-08 16:50 ` pluto at agmk dot net
  2008-04-09  8:09 ` rguenther at suse dot de
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-04-08 16:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pluto at agmk dot net  2008-04-08 16:50 -------
(In reply to comment #6)
> We'll not be able to fix this for 4.3 (the regression is caused by a
> correctness
> fix), but 4.4 will have this param setting as default.

Can i safely set this parameter to zero for vendor gcc package?
Does the non-zero value fix some bugs or sth?


-- 


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


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

* [Bug other/35858] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (6 preceding siblings ...)
  2008-04-08 16:50 ` pluto at agmk dot net
@ 2008-04-09  8:09 ` rguenther at suse dot de
  2008-04-30 13:58 ` [Bug other/35858] [4.3 Regression] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenther at suse dot de @ 2008-04-09  8:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenther at suse dot de  2008-04-09 08:08 -------
Subject: Re:  time/memory hog for large c++ source.

On Tue, 8 Apr 2008, pluto at agmk dot net wrote:

> ------- Comment #7 from pluto at agmk dot net  2008-04-08 16:50 -------
> (In reply to comment #6)
> > We'll not be able to fix this for 4.3 (the regression is caused by a
> > correctness
> > fix), but 4.4 will have this param setting as default.
> 
> Can i safely set this parameter to zero for vendor gcc package?
> Does the non-zero value fix some bugs or sth?

In principle you can set it to zero, but you will lose optimization
opportunities in the areas of PRE/FRE, loop invariant and store motion
(to name the probably most important ones).

Richard.


-- 


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


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

* [Bug other/35858] [4.3 Regression] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (7 preceding siblings ...)
  2008-04-09  8:09 ` rguenther at suse dot de
@ 2008-04-30 13:58 ` rguenth at gcc dot gnu dot org
  2008-06-24 12:18 ` pluto at agmk dot net
  2008-06-24 12:46 ` rguenth at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-30 13:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2008-04-30 13:57 -------
4.3.0: 334s 1.6GB
trunk: 62.20s 640MB
trunk with SFTs: 327s 1.2GB

so, fixed for 4.4.0.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
         AssignedTo|rguenth at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW
           Keywords|                            |compile-time-hog, memory-hog
      Known to work|4.1.2                       |4.1.2 4.4.0
            Summary|time/memory hog for large   |[4.3 Regression] time/memory
                   |c++ source.                 |hog for large c++ source.
   Target Milestone|---                         |4.4.0


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


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

* [Bug other/35858] [4.3 Regression] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (8 preceding siblings ...)
  2008-04-30 13:58 ` [Bug other/35858] [4.3 Regression] " rguenth at gcc dot gnu dot org
@ 2008-06-24 12:18 ` pluto at agmk dot net
  2008-06-24 12:46 ` rguenth at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2008-06-24 12:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pluto at agmk dot net  2008-06-24 12:17 -------
(In reply to comment #9)
> 4.3.0: 334s 1.6GB
> trunk: 62.20s 640MB
> trunk with SFTs: 327s 1.2GB
> 
> so, fixed for 4.4.0.

current 4.3 branch stats:

-O1 -g0 : ~615MB, 0m58s
-O2 -g0 : ~935MB, 2m13s

looks far better than 4.3.0.
can we close this as fixed for 4.3.2?


-- 


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


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

* [Bug other/35858] [4.3 Regression] time/memory hog for large c++ source.
  2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
                   ` (9 preceding siblings ...)
  2008-06-24 12:18 ` pluto at agmk dot net
@ 2008-06-24 12:46 ` rguenth at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-24 12:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2008-06-24 12:46 -------
Yes.  Fixed for 4.3.2.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.3.0                       |4.3.0 4.3.1
         Resolution|                            |FIXED
   Target Milestone|4.4.0                       |4.3.2


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


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

end of thread, other threads:[~2008-06-24 12:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 14:58 [Bug other/35858] New: time/memory hog for large c++ source pluto at agmk dot net
2008-04-07 14:58 ` [Bug other/35858] " pluto at agmk dot net
2008-04-07 14:59 ` pluto at agmk dot net
2008-04-07 15:00 ` pluto at agmk dot net
2008-04-07 15:30 ` rguenth at gcc dot gnu dot org
2008-04-07 20:26 ` pluto at agmk dot net
2008-04-08 10:05 ` rguenth at gcc dot gnu dot org
2008-04-08 16:50 ` pluto at agmk dot net
2008-04-09  8:09 ` rguenther at suse dot de
2008-04-30 13:58 ` [Bug other/35858] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-06-24 12:18 ` pluto at agmk dot net
2008-06-24 12:46 ` 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).