This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/59812] Missing aggressive loop optimization warning
- 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, 14 Jan 2014 18:18:58 +0000
- Subject: [Bug c/59812] Missing aggressive loop optimization warning
- Auto-submitted: auto-generated
- References: <bug-59812-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59812
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The warning is documented to warn only about loops with constant number of
iterations. Generally the number of iterations analysis which computes that
the loop has at most 4 (valid) iterations on the other side doesn't have access
to VRP to see what the values would be here, while for post-VRP it could use
remembered SSA_NAME_RANGE_INFO, during VRP when this is optimized it can't, it
isn't stored there yet.