This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23855] loop header should also be pulled out of the inner loop too
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2006 20:15:37 -0000
- Subject: [Bug tree-optimization/23855] loop header should also be pulled out of the inner loop too
- References: <bug-23855-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from rakdver at gcc dot gnu dot org 2006-01-15 20:15 -------
Unswitching the condition (i < ie) (plus empty loop removal) would produce this
code. Nevertheless, this is a fairly common case, so perhaps it might make
sense to special-case it in loop header copying (for performance reasons).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23855