This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Oct 2017 07:34:16 +0000
- Subject: [Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.
- Auto-submitted: auto-generated
- References: <bug-82776-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps at least when seeing an unconditional POINTER_PLUS_EXPR with constant
increment and no other bumps for the same pointer in the loop, we could derive
upper niter bound from that, even when the loop has multiple exits etc.