------- Comment #5 from pault at gcc dot gnu dot org  2010-07-23 14:26 -------
Subject: Bug 24524

Author: pault
Date: Fri Jul 23 14:25:55 2010
New Revision: 162462

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162462
Log:
2009-07-23  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/24524
        * trans-array.c (gfc_init_loopinfo): Initialize the reverse
        field.
        gfc_trans_scalarized_loop_end: If reverse set in dimension n,
        reverse the scalarization loop.
        gfc_conv_resolve_dependencies: Pass the reverse field of the
        loopinfo to gfc_dep_resolver.
        trans-expr.c (gfc_trans_assignment_1): Enable loop reversal for
        assignment by resetting loop.reverse.
        gfortran.h : Add the gfc_reverse enum.
        trans.h : Add the reverse field to gfc_loopinfo.
        dependency.c (gfc_check_dependency): Pass null to the new arg
        of gfc_dep_resolver.
        (gfc_check_section_vs_section): Check for reverse dependencies.
        (gfc_dep_resolver): Add reverse argument and deal with the loop
        reversal logic.
        dependency.h : Modify prototype for gfc_dep_resolver to include
        gfc_reverse *.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dependency.c
    trunk/gcc/fortran/dependency.h
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/fortran/trans.h


-- 


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

Reply via email to