This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/58915] [missed optimization] GCC fails to get the loop bound for some loops.
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Nov 2013 14:17:39 +0000
- Subject: [Bug tree-optimization/58915] [missed optimization] GCC fails to get the loop bound for some loops.
- Auto-submitted: auto-generated
- References: <bug-58915-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58915
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
True, it may still help in some cases though.
On my list of nice-things-to-have is still a generic predicate collecting
& simplification machinery similar to what we have with tree-affine.c.
That is collect || && predicates in a vector and simplify / normalize
them and solve queries against them, like in this case whether we can
derive range information from them.