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 tree-optimization/81196] Number of iterations found for p!=q but not for p<q


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81196

--- Comment #8 from amker at gcc dot gnu.org ---
Author: amker
Date: Thu Jun 29 10:41:28 2017
New Revision: 249778

URL: https://gcc.gnu.org/viewcvs?rev=249778&root=gcc&view=rev
Log:
        PR tree-optimization/81196
        * tree-ssa-loop-niter.c (number_of_iterations_cond): Handle loop
        exit condition comparing two IVs.

        gcc/testsuite
        * gcc.dg/vect/pr81196.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr81196.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-niter.c

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