This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Jul 2015 21:34:21 +0000
- Subject: [Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR
- Auto-submitted: auto-generated
- References: <bug-66726-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726
--- Comment #10 from Jeffrey A. Law <law at redhat dot com> ---
Sinking the cast changes the form of the range tests into one that
tree-ssa-reassoc isn't prepared to handle. Sadly the form presented with the
cast sunk is *simpler* than the original.
I'm testing a bit of a hack to avoid the sinking of the cast in cases where
doing so is less likely to be a win.