public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13798] New: 10x compile time regression
@ 2004-01-21 20:31 tm at kloo dot net
2004-01-21 20:33 ` [Bug optimization/13798] " tm at kloo dot net
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: tm at kloo dot net @ 2004-01-21 20:31 UTC (permalink / raw)
To: gcc-bugs
Here are the compile times for imdecode.i (from stress-1.17) using the options
-O2 -m4 on a P2/300 with 128 megs of RAM:
tree-ssa:
real 23m56.505s
user 22m42.970s
sys 0m11.900s
mainline:
real 2m9.078s
user 2m5.930s
sys 0m1.970s
This appears to be a 10x compile time regression.
Toshi
--
Summary: 10x compile time regression
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tm at kloo dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-linux
GCC host triplet: i386-linux
GCC target triplet: sh-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
@ 2004-01-21 20:33 ` tm at kloo dot net
2004-01-21 20:35 ` [Bug optimization/13798] [tree-ssa] " pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tm at kloo dot net @ 2004-01-21 20:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tm at kloo dot net 2004-01-21 20:33 -------
Created an attachment (id=5549)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5549&action=view)
Preprocessed source file from ImageMagick
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
2004-01-21 20:33 ` [Bug optimization/13798] " tm at kloo dot net
@ 2004-01-21 20:35 ` pinskia at gcc dot gnu dot org
2004-01-21 20:57 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 20:35 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |compile-time-hog
Summary|10x compile time regression |[tree-ssa] 10x compile time
| |regression
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
2004-01-21 20:33 ` [Bug optimization/13798] " tm at kloo dot net
2004-01-21 20:35 ` [Bug optimization/13798] [tree-ssa] " pinskia at gcc dot gnu dot org
@ 2004-01-21 20:57 ` pinskia at gcc dot gnu dot org
2004-01-21 21:46 ` tm at kloo dot net
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 20:57 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |memory-hog
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (2 preceding siblings ...)
2004-01-21 20:57 ` pinskia at gcc dot gnu dot org
@ 2004-01-21 21:46 ` tm at kloo dot net
2004-01-21 21:48 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tm at kloo dot net @ 2004-01-21 21:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tm at kloo dot net 2004-01-21 21:46 -------
The compiler OOMs when I try to use -ftime-report.
However, it runs about 10 minutes before it OOMs and the peak memory usage
prior to OOMing appears to be about 110 megs. So the compilation speed
(or lack thereof) doesn't seem dependent on memory usage.
Toshi
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (3 preceding siblings ...)
2004-01-21 21:46 ` tm at kloo dot net
@ 2004-01-21 21:48 ` pinskia at gcc dot gnu dot org
2004-01-21 22:55 ` steven at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 21:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|memory-hog |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (4 preceding siblings ...)
2004-01-21 21:48 ` pinskia at gcc dot gnu dot org
@ 2004-01-21 22:55 ` steven at gcc dot gnu dot org
2004-01-21 23:18 ` dberlin at dberlin dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-01-21 22:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-01-21 22:55 -------
This is very bad.....
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-21 22:55:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (5 preceding siblings ...)
2004-01-21 22:55 ` steven at gcc dot gnu dot org
@ 2004-01-21 23:18 ` dberlin at dberlin dot org
2004-01-22 0:40 ` zack at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dberlin at dberlin dot org @ 2004-01-21 23:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at dberlin dot org 2004-01-21 23:18 -------
Subject: Re: [tree-ssa] 10x compile time regression
On Jan 21, 2004, at 5:55 PM, steven at gcc dot gnu dot org wrote:
But it was with checking enable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (6 preceding siblings ...)
2004-01-21 23:18 ` dberlin at dberlin dot org
@ 2004-01-22 0:40 ` zack at gcc dot gnu dot org
2004-01-22 2:00 ` kazu at cs dot umass dot edu
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-01-22 0:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2004-01-22 00:40 -------
(From update of attachment 5549)
fix mime type of attachment
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5549|text/plain |application/gzip
mime type| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (7 preceding siblings ...)
2004-01-22 0:40 ` zack at gcc dot gnu dot org
@ 2004-01-22 2:00 ` kazu at cs dot umass dot edu
2004-01-23 0:03 ` steven at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-01-22 2:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2004-01-22 02:00 -------
This also happened on h8300-hms last time I tried,
which is at least a few weeks ago.
(sorry for not reporting)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |kazu at cs dot umass dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (8 preceding siblings ...)
2004-01-22 2:00 ` kazu at cs dot umass dot edu
@ 2004-01-23 0:03 ` steven at gcc dot gnu dot org
2004-01-23 2:39 ` rth at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-01-23 0:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-01-23 00:03 -------
This is not SH specific, it's easily reproduced on any target I've tried it on
(i686, ppc, hpux).
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i386-linux |
GCC host triplet|i386-linux |
GCC target triplet|sh-elf |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (9 preceding siblings ...)
2004-01-23 0:03 ` steven at gcc dot gnu dot org
@ 2004-01-23 2:39 ` rth at gcc dot gnu dot org
2004-01-28 9:18 ` cvs-commit at gcc dot gnu dot org
2004-01-28 9:28 ` rth at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-01-23 2:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-01-23 02:39 -------
Mainline converts this to a memcpy from read-only storage.
Need to do the same trick in the gimplifier.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (10 preceding siblings ...)
2004-01-23 2:39 ` rth at gcc dot gnu dot org
@ 2004-01-28 9:18 ` cvs-commit at gcc dot gnu dot org
2004-01-28 9:28 ` rth at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-28 9:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-28 09:17 -------
Subject: Bug 13798
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-01-28 09:17:52
Modified files:
gcc : ChangeLog.tree-ssa Makefile.in expr.c
gimplify.c tree.c tree.h
Log message:
PR opt/13798
* expr.c (is_zeros_p): Remove. Change all callers to use
initializer_zerop.
(categorize_ctor_elements_1, categorize_ctor_elements): New.
(count_type_elements): New.
(mostly_zeros_p): Use them.
* gimplify.c (tmp_var_id_num): Split out from create_tmp_var_raw.
(create_tmp_var_name): Likewise.
(gimplify_init_constructor): Drop constructors to readonly memory
as indicated by categorize_ctor_elements and can_move_by_pieces.
* tree.c (initializer_zerop): Handle VECTOR_CST. Don't check
AGGREGATE_TYPE_P for CONSTRUCTOR.
* tree.h (categorize_ctor_elements): Declare.
(count_type_elements): Declare.
* Makefile.in (gimplify.o): Update dependencies.
(GTFILES): Add gimplify.c.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1130&r2=1.1.2.1131
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.903.2.171&r2=1.903.2.172
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.467.2.72&r2=1.467.2.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.137&r2=1.1.2.138
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.263.2.76&r2=1.263.2.77
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.342.2.162&r2=1.342.2.163
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/13798] [tree-ssa] 10x compile time regression
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
` (11 preceding siblings ...)
2004-01-28 9:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-28 9:28 ` rth at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-01-28 9:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-01-28 09:28 -------
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg03088.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2004-01-28 9:28 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 20:31 [Bug optimization/13798] New: 10x compile time regression tm at kloo dot net
2004-01-21 20:33 ` [Bug optimization/13798] " tm at kloo dot net
2004-01-21 20:35 ` [Bug optimization/13798] [tree-ssa] " pinskia at gcc dot gnu dot org
2004-01-21 20:57 ` pinskia at gcc dot gnu dot org
2004-01-21 21:46 ` tm at kloo dot net
2004-01-21 21:48 ` pinskia at gcc dot gnu dot org
2004-01-21 22:55 ` steven at gcc dot gnu dot org
2004-01-21 23:18 ` dberlin at dberlin dot org
2004-01-22 0:40 ` zack at gcc dot gnu dot org
2004-01-22 2:00 ` kazu at cs dot umass dot edu
2004-01-23 0:03 ` steven at gcc dot gnu dot org
2004-01-23 2:39 ` rth at gcc dot gnu dot org
2004-01-28 9:18 ` cvs-commit at gcc dot gnu dot org
2004-01-28 9:28 ` rth 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).