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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct  9 13:50:10 2017
New Revision: 253546

URL: https://gcc.gnu.org/viewcvs?rev=253546&root=gcc&view=rev
Log:
2017-10-09  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/82449
        * sese.c (scev_analyzable_p): Check whether the SCEV is linear.
        * tree-chrec.h (evolution_function_is_constant_p): Adjust to
        allow constant addresses.
        * tree-chrec.c (scev_is_linear_expression): Constant evolutions
        are linear.

        * gfortran.dg/graphite/pr82449.f: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/graphite/pr82449.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sese.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.c
    trunk/gcc/tree-chrec.h

Reply via email to