------- Comment #11 from spop at gcc dot gnu dot org  2008-05-20 16:06 -------
Subject: Bug 36206

Author: spop
Date: Tue May 20 16:05:09 2008
New Revision: 135663

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135663
Log:
2008-05-20  Jan Sjodin  <[EMAIL PROTECTED]>
            Sebastian Pop  <[EMAIL PROTECTED]>

        PR tree-optimization/36206
        * tree-scalar-evolution.c: Remove enum INSERT_SUPERLOOP_CHRECS,
        FOLD_CONVERSIONS.
        (instantiate_scev_1): Rename flags to fold_conversions.
        Do not check for INSERT_SUPERLOOP_CHRECS, keep SSA_NAMEs defined
        outeside instantiation_loop.
        * tree-chrec.h (evolution_function_is_affine_in_loop): New.
        (evolution_function_is_affine_or_constant_p): Removed.
        * tree-data-ref.c (dr_analyze_indices): Replace resolve_mixers with
        instantiate_scev.
        (analyze_siv_subscript): Pass in the loop nest number.
        Call evolution_function_is_affine_in_loop instead of 
        evolution_function_is_affine_p.
        (analyze_overlapping_iterations): Pass in the loop nest number.

        * tree-chrec.h (chrec_fold_op): New.
        * tree-data-ref.c (initialize_matrix_A): Traverse NOP_EXPR, PLUS_EXPR,
and
        other trees.

        * testsuite/gfortran.dg/pr36206.f: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr36206.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.h
    trunk/gcc/tree-data-ref.c
    trunk/gcc/tree-scalar-evolution.c


-- 


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

Reply via email to