This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20612] ICE in verify_ssa for -ftree-loop-linear
- From: "dberlin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2005 04:21:09 -0000
- Subject: [Bug tree-optimization/20612] ICE in verify_ssa for -ftree-loop-linear
- References: <20050324002631.20612.janis@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-03-24 04:21 -------
To add some more detail:
We sink the iv increment because it wasn't used in the old exit test.
However, the exit test we want to generate wants to use it, but because we sunk
it, it no longer dominates the right block.
The easy fix here is to take the iv var, increment it on our own (instead of
trying to use the pre-inc'ed version), and just let rednudancy elimination sort
the rest out :)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |SUSPENDED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20612