This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41488] IVOpts cannot coalesce multiple induction variables
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2009 13:17:47 -0000
- Subject: [Bug tree-optimization/41488] IVOpts cannot coalesce multiple induction variables
- References: <bug-41488-17160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-30 13:17 -------
The issue here is that loop header copying creates a new induction variable
by moving the use before the definition of D.2708_4 = start_3(D) + i_12.
So it just does what we teach PRE not to do ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41488