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

--- Comment #1 from Andrew Haley <aph at gcc dot gnu.org> ---
Author: aph
Date: Wed Mar  8 11:35:23 2017
New Revision: 245974

URL: https://gcc.gnu.org/viewcvs?rev=245974&root=gcc&view=rev
Log:
2017-03-08  Andrew Haley  <a...@redhat.com>

        PR tree-optimization/79943
        * tree-ssa-loop-split.c (compute_new_first_bound): When
        calculating the new upper bound, (END-BEG) should be added, not
        subtracted.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr79943.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-split.c

Reply via email to