This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26939] PRE confuses loop number of iterations analysis
- 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 Mar 2006 12:31:53 -0000
- Subject: [Bug tree-optimization/26939] PRE confuses loop number of iterations analysis
- References: <bug-26939-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-03-30 12:31 -------
You can see that PRE makes a mess out of it because of the copied loop header
of the inner loop. So maybe Zdeneks patch to move the loop header copy outside
of the first loop helps here. Though I'd prefer to prevent PRE from doing the
transformation here. Danny, any ideas?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26939