public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias
@ 2006-04-03 13:43 bonzini at gnu dot org
2006-04-03 14:37 ` [Bug tree-optimization/27004] " dberlin at dberlin dot org
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2006-04-03 13:43 UTC (permalink / raw)
To: gcc-bugs
spinning a separate bug from PR26830. we are creating a lot of field memory
tags, each of which is present in a 900-argument phi, which causes us to use
more memory than 4.0.
to some extent this is unavoidable, but I wonder if we could throttle things
down a bit?
--
Summary: [4.1/4.2 Regression] Insane amount of memory needed at -
O1 and above because of salias
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: memory-hog, alias
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bonzini at gnu dot org
BugsThisDependsOn: 26830
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
@ 2006-04-03 14:37 ` dberlin at dberlin dot org
2006-04-03 14:39 ` rguenther at suse dot de
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dberlin at dberlin dot org @ 2006-04-03 14:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dberlin at gcc dot gnu dot org 2006-04-03 14:37 -------
Subject: Re: New: [4.1/4.2 Regression]
Insane amount of memory needed at -O1 and above because of salias
On Mon, 2006-04-03 at 13:43 +0000, bonzini at gnu dot org wrote:
> spinning a separate bug from PR26830. we are creating a lot of field memory
> tags, each of which is present in a 900-argument phi, which causes us to use
> more memory than 4.0.
>
> to some extent this is unavoidable, but I wonder if we could throttle things
> down a bit?
>
Err, why do we have a 900 argument phi?
Seems a bit large.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
2006-04-03 14:37 ` [Bug tree-optimization/27004] " dberlin at dberlin dot org
@ 2006-04-03 14:39 ` rguenther at suse dot de
2006-04-05 18:33 ` [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenther at suse dot de @ 2006-04-03 14:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenther at suse dot de 2006-04-03 14:39 -------
Subject: Re: [4.1/4.2 Regression] Insane amount
of memory needed at -O1 and above because of salias
On Mon, 3 Apr 2006, dberlin at dberlin dot org wrote:
> On Mon, 2006-04-03 at 13:43 +0000, bonzini at gnu dot org wrote:
> > spinning a separate bug from PR26830. we are creating a lot of field memory
> > tags, each of which is present in a 900-argument phi, which causes us to use
> > more memory than 4.0.
> >
> > to some extent this is unavoidable, but I wonder if we could throttle things
> > down a bit?
> >
>
> Err, why do we have a 900 argument phi?
> Seems a bit large.
Because the testcase is - err - interesting.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
2006-04-03 14:37 ` [Bug tree-optimization/27004] " dberlin at dberlin dot org
2006-04-03 14:39 ` rguenther at suse dot de
@ 2006-04-05 18:33 ` pinskia at gcc dot gnu dot org
2006-04-16 19:16 ` mmitchel at gcc dot gnu dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-05 18:33 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2 Regression] Insane |[4.1/4.2 Regression] Insane
|amount of memory needed at -|amount of memory needed at -
|O1 and above because of |O1 and above because of
|salias |salias and large switch
Target Milestone|--- |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (2 preceding siblings ...)
2006-04-05 18:33 ` [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch pinskia at gcc dot gnu dot org
@ 2006-04-16 19:16 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:39 ` mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-04-16 19:16 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (3 preceding siblings ...)
2006-04-16 19:16 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25 2:39 ` mmitchel at gcc dot gnu dot org
2007-02-14 9:10 ` [Bug tree-optimization/27004] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-05-25 02:34 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (4 preceding siblings ...)
2006-05-25 2:39 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14 9:10 ` mmitchel at gcc dot gnu dot org
2007-11-04 12:47 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:10 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (5 preceding siblings ...)
2007-02-14 9:10 ` [Bug tree-optimization/27004] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2007-11-04 12:47 ` rguenth at gcc dot gnu dot org
2007-11-04 13:34 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-04 12:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-11-04 12:47 -------
If you solve the SFT problem, DF needs lot of memory and compile-time in this
testcase on the trunk. The execute() function has lots of basic blocks with
a high number of incoming edges.
So, I have a patch for the SFT problem.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-04 12:47:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (6 preceding siblings ...)
2007-11-04 12:47 ` rguenth at gcc dot gnu dot org
@ 2007-11-04 13:34 ` rguenth at gcc dot gnu dot org
2007-11-04 13:38 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-04 13:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2007-11-04 13:34 -------
Some numbers (-O):
4.0.4 needs 596MB peak
4.1.2 needs 2GB peak (and a lot of time)
4.2.2 same as 4.1.2
4.3.0 same as 4.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.1/4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (7 preceding siblings ...)
2007-11-04 13:34 ` rguenth at gcc dot gnu dot org
@ 2007-11-04 13:38 ` rguenth at gcc dot gnu dot org
2008-07-04 20:24 ` [Bug tree-optimization/27004] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-04 13:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-11-04 13:38 -------
Created an attachment (id=14483)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14483&action=view)
patch
Patch to limit the number of SFTs created per function. The limit of 1000 SFTs
brings down memory usage to 1.3GB, a limit of 500 to 1.2GB, a limit of 100
results in 970MB, a limit of
zero 954MB.
So there's still something taking 400MB more memory than in 4.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.2/4.3/4.4 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (8 preceding siblings ...)
2007-11-04 13:38 ` rguenth at gcc dot gnu dot org
@ 2008-07-04 20:24 ` jsm28 at gcc dot gnu dot org
2008-12-08 14:43 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jsm28 at gcc dot gnu dot org 2008-07-04 20:23 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
|Insane amount of memory |Insane amount of memory
|needed at -O1 and above |needed at -O1 and above
|because of salias and large |because of salias and large
|switch |switch
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.2/4.3/4.4 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (9 preceding siblings ...)
2008-07-04 20:24 ` [Bug tree-optimization/27004] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-12-08 14:43 ` jakub at gcc dot gnu dot org
2008-12-08 14:49 ` [Bug tree-optimization/27004] [4.2/4.3 " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-08 14:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2008-12-08 14:41 -------
It is unclear which target this was tested on, in any case current trunk tops
on this at around 1.2GB.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.2/4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (10 preceding siblings ...)
2008-12-08 14:43 ` jakub at gcc dot gnu dot org
@ 2008-12-08 14:49 ` rguenth at gcc dot gnu dot org
2009-03-31 19:33 ` [Bug tree-optimization/27004] [4.3 " jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-08 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2008-12-08 14:47 -------
I think this is a dup of PR26854 on the trunk at least - the excess memory used
is used by DF (SFTs are gone on the trunk).
So, this is now a 4.2/4.3 regression only (which still have SFTs).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |26854
Summary|[4.2/4.3/4.4 Regression] |[4.2/4.3 Regression] Insane
|Insane amount of memory |amount of memory needed at -
|needed at -O1 and above |O1 and above because of
|because of salias and large |salias and large switch
|switch |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (11 preceding siblings ...)
2008-12-08 14:49 ` [Bug tree-optimization/27004] [4.2/4.3 " rguenth at gcc dot gnu dot org
@ 2009-03-31 19:33 ` jsm28 at gcc dot gnu dot org
2009-08-04 12:34 ` rguenth at gcc dot gnu dot org
2010-04-20 13:23 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jsm28 at gcc dot gnu dot org 2009-03-31 19:33 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3 Regression] Insane |[4.3 Regression] Insane
|amount of memory needed at -|amount of memory needed at -
|O1 and above because of |O1 and above because of
|salias and large switch |salias and large switch
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (12 preceding siblings ...)
2009-03-31 19:33 ` [Bug tree-optimization/27004] [4.3 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:34 ` rguenth at gcc dot gnu dot org
2010-04-20 13:23 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rguenth at gcc dot gnu dot org 2009-08-04 12:27 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/27004] [4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
` (13 preceding siblings ...)
2009-08-04 12:34 ` rguenth at gcc dot gnu dot org
@ 2010-04-20 13:23 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-20 13:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from rguenth at gcc dot gnu dot org 2010-04-20 13:22 -------
WONTFIX on the branch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail| |4.3.4
Known to work| |4.4.0
Resolution| |FIXED
Target Milestone|4.3.5 |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27004
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2010-04-20 13:23 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 13:43 [Bug tree-optimization/27004] New: [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias bonzini at gnu dot org
2006-04-03 14:37 ` [Bug tree-optimization/27004] " dberlin at dberlin dot org
2006-04-03 14:39 ` rguenther at suse dot de
2006-04-05 18:33 ` [Bug tree-optimization/27004] [4.1/4.2 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch pinskia at gcc dot gnu dot org
2006-04-16 19:16 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:39 ` mmitchel at gcc dot gnu dot org
2007-02-14 9:10 ` [Bug tree-optimization/27004] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-11-04 12:47 ` rguenth at gcc dot gnu dot org
2007-11-04 13:34 ` rguenth at gcc dot gnu dot org
2007-11-04 13:38 ` rguenth at gcc dot gnu dot org
2008-07-04 20:24 ` [Bug tree-optimization/27004] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-12-08 14:43 ` jakub at gcc dot gnu dot org
2008-12-08 14:49 ` [Bug tree-optimization/27004] [4.2/4.3 " rguenth at gcc dot gnu dot org
2009-03-31 19:33 ` [Bug tree-optimization/27004] [4.3 " jsm28 at gcc dot gnu dot org
2009-08-04 12:34 ` rguenth at gcc dot gnu dot org
2010-04-20 13:23 ` 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).