--- Comment #8 from rguenth at gcc dot gnu dot org 2009-06-21 10:22 ---
Fixed for trunk.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-06-21 10:22 ---
Subject: Bug 38729
Author: rguenth
Date: Sun Jun 21 10:22:08 2009
New Revision: 148761
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148761
Log:
2009-06-21 Richard Guenther
PR tree-optimization/
--- Comment #6 from rguenther at suse dot de 2009-06-20 17:12 ---
Subject: Re: long time needed in tree canonical iv
On Sat, 20 Jun 2009, rakdver at gcc dot gnu dot org wrote:
> --- Comment #5 from rakdver at gcc dot gnu dot org 2009-06-20 17:08
> ---
> (In reply to comment
--- Comment #5 from rakdver at gcc dot gnu dot org 2009-06-20 17:08 ---
(In reply to comment #4)
> With MAX_DOMINATORS_TO_WALK zero and find_loop_niter_by_eval completely
> disabled
> (checking enabled compiler, built with -O0):
>
> tree iv optimization : 11.12 ( 6%) usr 0.07 ( 5%)
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-06-20 17:01 ---
With MAX_DOMINATORS_TO_WALK zero and find_loop_niter_by_eval completely
disabled
(checking enabled compiler, built with -O0):
tree iv optimization : 11.12 ( 6%) usr 0.07 ( 5%) sys 12.02 ( 6%) wall
59123 kB (
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-06-20 16:43 ---
My guess is that this is the number-of-iteration code which tries to use
predicate information (that is obviously available a lot with -fbounds-check).
At -O1 we do not do value-range propagation, so practically all
--- Comment #2 from jv244 at cam dot ac dot uk 2009-06-20 16:15 ---
timings with '-O1 -fbounds-check'
4.3.1: 3m40.229s
4.4.1: 4m34.003s
4.5.0: 5m30.149s
all slow... and not improving (vs 20s at -O0 -fbounds-check)
--
jv244 at cam dot ac dot uk changed:
What|Removed
--- Comment #1 from jv244 at cam dot ac dot uk 2009-01-05 16:18 ---
Created an attachment (id=17033)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17033&action=view)
testcase
gfortran -O1 -fbounds-check -ftime-report PR38729.f90
to reproduce.
--
http://gcc.gnu.org/bugzilla/