------- Comment #12 from spop at gcc dot gnu dot org  2009-10-21 23:05 -------
Subject: Bug 41497

Author: spop
Date: Wed Oct 21 23:05:39 2009
New Revision: 153441

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153441
Log:
        PR tree-optimization/41497
        * tree-scalar-evolution.c (analyze_evolution_in_loop): Return
        chrec_dont_know if the evolution function returned by follow_ssa_edge
        is constant in the analyzed loop and is not compatible with the
        initial value before the loop.
        * tree-chrec.h (no_evolution_in_loop_p): Call STRIP_NOPS.

        * gcc.dg/tree-ssa/pr41497.c: New.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr41497.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.h
    trunk/gcc/tree-scalar-evolution.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41497

Reply via email to