[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-13 Thread hjl at gcc dot gnu dot org
--- Comment #11 from hjl at gcc dot gnu dot org 2010-03-13 16:59 --- Subject: Bug 43209 Author: hjl Date: Sat Mar 13 16:58:19 2010 New Revision: 157426 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157426 Log: Backport testcases from mainline. 2010-03-13 H.J. Lu

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-04 Thread spop at gcc dot gnu dot org
--- Comment #9 from spop at gcc dot gnu dot org 2010-03-04 12:13 --- Subject: Bug 43209 Author: spop Date: Thu Mar 4 12:12:50 2010 New Revision: 157217 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157217 Log: Fix PR43209: Do not decrease the cost of an IV candidate when the

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-04 Thread spop at gcc dot gnu dot org
--- Comment #10 from spop at gcc dot gnu dot org 2010-03-04 12:14 --- Fixed. -- spop at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2010-03-02 20:58 --- *** Bug 43238 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3 |P1

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread changpeng dot fang at amd dot com
--- Comment #5 from changpeng dot fang at amd dot com 2010-03-01 18:02 --- I have a fix for this problem. We should not decrease the cost if the cost is infinite. diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 74dadf7..9accda9 100644 ---

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread sebpop at gmail dot com
--- Comment #6 from sebpop at gmail dot com 2010-03-01 18:10 --- Subject: Re: [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 On Mon, Mar 1, 2010 at 12:02, changpeng dot fang at amd dot com I have a fix for this problem. We should not decrease the

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread sebpop at gmail dot com
--- Comment #7 from sebpop at gmail dot com 2010-03-01 18:21 --- Subject: Re: [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 You should fuse this condition into the previous condition expression to avoid the inner if. Like this: diff --git

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-02-28 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-02-28 13:49 --- 4.4 r157120 works fine too testcase doesn't fail at -O2, -O3 (in trunk) -- zsojka at seznam dot cz changed: What|Removed |Added

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-02-28 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-02-28 17:02 --- It is caused by revision 156701: http://gcc.gnu.org/ml/gcc-cvs/2010-02/msg00283.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-02-28 Thread amonakov at gcc dot gnu dot org
--- Comment #4 from amonakov at gcc dot gnu dot org 2010-02-28 22:01 --- Confirmed. The first invocation of get_computation_aff fails with ustep == (long) j, cstep == (unsigned long) j: constant_multiple_of (ustep, cstep, rat) returns false (j is int, STRIP_NOPS ({u,c}step) preserves

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-02-28 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43209