This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31375] missed loop-if transformation / branch reduction.
- 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: 27 Mar 2007 13:24:33 -0000
- Subject: [Bug tree-optimization/31375] missed loop-if transformation / branch reduction.
- References: <bug-31375-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-27 14:24 -------
Uh, an indirect call is much more expensive in general unless you can prove
that the branch if (condition()) is completely random and so usually
mispredicted.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31375