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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb  1 13:41:43 2019
New Revision: 268449

URL: https://gcc.gnu.org/viewcvs?rev=268449&root=gcc&view=rev
Log:
2019-02-01  Richard Biener  <rguent...@suse.de>

        PR middle-end/88597
        * tree-scalar-evolution.c (analyze_scalar_evolution): Set up
        the instantiate cache.
        (instantiate_scev_binary): Elide second operand procesing
        if equal to the first.
        * tree-chrec.c (chrec_contains_symbols): Add visited set.
        (chrec_contains_undetermined): Likewise.
        (tree_contains_chrecs): Likewise.

        * gcc.dg/torture/pr88597.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr88597.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.c
    trunk/gcc/tree-scalar-evolution.c

Reply via email to