public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26804] New: Alias Time explosion
@ 2006-03-22 14:12 amacleod at redhat dot com
2006-03-22 14:17 ` [Bug tree-optimization/26804] " amacleod at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: amacleod at redhat dot com @ 2006-03-22 14:12 UTC (permalink / raw)
To: gcc-bugs
Alias analysis is taking a long time now.
I seem to have narrowed it down to this patch:
http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00908.html
running cpgram.ii shows a regression:
before patch:
tree alias analysis : 2.49 ( 7%) usr 0.25 ( 5%) sys 6.13 ( 5%) wall
4971 kB ( 1%) ggc
TOTAL : 36.90 4.72 130.34
467341 kB
after patch:
tree alias analysis : 59.00 (63%) usr 0.40 ( 7%) sys 70.43 (36%) wall
4957 kB ( 1%) ggc
TOTAL : 94.13 5.43 193.85
468339 kB
on a 386 linux machine bootstrapped with checking disabled.
cpgram.ii needs to be compiled with -fpermissive -O2
--
Summary: Alias Time explosion
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amacleod at redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26804
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/26804] Alias Time explosion
2006-03-22 14:12 [Bug tree-optimization/26804] New: Alias Time explosion amacleod at redhat dot com
@ 2006-03-22 14:17 ` amacleod at redhat dot com
2006-03-22 14:58 ` dberlin at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: amacleod at redhat dot com @ 2006-03-22 14:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from amacleod at redhat dot com 2006-03-22 14:17 -------
Created an attachment (id=11095)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11095&action=view)
large c++ include file.
cpgram.ii which compiles with -fpermissive
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26804
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/26804] Alias Time explosion
2006-03-22 14:12 [Bug tree-optimization/26804] New: Alias Time explosion amacleod at redhat dot com
2006-03-22 14:17 ` [Bug tree-optimization/26804] " amacleod at redhat dot com
@ 2006-03-22 14:58 ` dberlin at gcc dot gnu dot org
2006-03-25 19:17 ` dberlin at gcc dot gnu dot org
2006-03-25 19:19 ` dberlin at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2006-03-22 14:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dberlin at gcc dot gnu dot org 2006-03-22 14:58 -------
Mine
--
dberlin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dberlin at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-03-22 14:58:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26804
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/26804] Alias Time explosion
2006-03-22 14:12 [Bug tree-optimization/26804] New: Alias Time explosion amacleod at redhat dot com
2006-03-22 14:17 ` [Bug tree-optimization/26804] " amacleod at redhat dot com
2006-03-22 14:58 ` dberlin at gcc dot gnu dot org
@ 2006-03-25 19:17 ` dberlin at gcc dot gnu dot org
2006-03-25 19:19 ` dberlin at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2006-03-25 19:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dberlin at gcc dot gnu dot org 2006-03-25 19:17 -------
Subject: Bug 26804
Author: dberlin
Date: Sat Mar 25 19:17:26 2006
New Revision: 112380
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112380
Log:
2006-03-25 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/26804
* tree.h (DECL_CALL_CLOBBERED): New macro.
(tree_decl_common): Add call_clobbered_flag.
* tree-flow-inline.h (is_call_clobbered): Use DECL_CALL_CLOBBERED.
(mark_call_clobbered): Set DECL_CALL_CLOBBERED.
(clear_call_clobbered): Clear DECL_CALL_CLOBBERED.
(mark_non_addressable): Ditto.
* tree-ssa.c (verify_call_clobbered): New function.
(verify_alias_info): Use it.
* tree-pass.h (pass_reset_cc_flags): New prototype.
* tree-ssa-alias.c (pass_reset_cc_flags): New structure.
(reset_cc_flags): New function.
* passes.c (init_optimization_passes): Call reset_cc_flags after
initializing referenced_vars.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/passes.c
trunk/gcc/tree-flow-inline.h
trunk/gcc/tree-pass.h
trunk/gcc/tree-ssa-alias.c
trunk/gcc/tree-ssa.c
trunk/gcc/tree.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26804
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/26804] Alias Time explosion
2006-03-22 14:12 [Bug tree-optimization/26804] New: Alias Time explosion amacleod at redhat dot com
` (2 preceding siblings ...)
2006-03-25 19:17 ` dberlin at gcc dot gnu dot org
@ 2006-03-25 19:19 ` dberlin at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2006-03-25 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dberlin at gcc dot gnu dot org 2006-03-25 19:19 -------
Fixed
--
dberlin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26804
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-25 19:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-22 14:12 [Bug tree-optimization/26804] New: Alias Time explosion amacleod at redhat dot com
2006-03-22 14:17 ` [Bug tree-optimization/26804] " amacleod at redhat dot com
2006-03-22 14:58 ` dberlin at gcc dot gnu dot org
2006-03-25 19:17 ` dberlin at gcc dot gnu dot org
2006-03-25 19:19 ` dberlin 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).