This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/59812] Missing aggressive loop optimization warning


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]