This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24309] [4.1 Regression] ICE with -O3 -ftree-loop-linear
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2005 17:39:46 -0000
- Subject: [Bug tree-optimization/24309] [4.1 Regression] ICE with -O3 -ftree-loop-linear
- References: <bug-24309-8902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from janis at gcc dot gnu dot org 2005-11-14 17:39 -------
A regression hunt on powerpc-linux shows that the testcase from comment #8
starts failing with this large merge from the autovect branch, within the
date range that the submitter identified:
http://gcc.gnu.org/viewcvs?view=rev&rev=102356
r102356 | irar | 2005-07-25 12:05:07 +0000 (Mon, 25 Jul 2005) | 83 lines
A regression hunt on powerpc-linux using the testcase from comment #2
identified this patch; the original larger testcase fails at the same place:
http://gcc.gnu.org/viewcvs?view=rev&rev=88404
r88404 | rakdver | 2004-10-01 18:26:37 +0000 (Fri, 01 Oct 2004) | 9 lines
* common.opt (ftree-loop-ivcanon): Enable by default.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely):
Enable complete loop unrolling.
(canonicalize_induction_variables, tree_unroll_loops_completely):
Reset scev info.
* gcc.dg/tree-ssa/loop-1.c: Check that unrolling occurs already on
tree level.
The reghunts used "-O2 -ftree-loop-linear". Let me know if there are other
options that could be used to find earlier failures.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24309