[multiple changes]
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 26 May 2011 18:19:36 +0000 (18:19 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 26 May 2011 18:19:36 +0000 (18:19 +0000)
commitaed5574e7b576594b71bbda5c822c667055b791c
treeffed11dce78ea1dd3b66ef042c7218e1fa25507e
parentb8ff4e88e790df436088012ce6db7f7d3b6c1514
[multiple changes]

2011-05-26  Paul Thomas  <pault@gcc.gnu.org>
    Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48955
* trans-expr.c (gfc_trans_assignment_1): GFC_REVERSE_NOT_SET
changed to GFC_ENABLE_REVERSE.
* trans-array.c (gfc_init_loopinfo): GFC_CANNOT_REVERSE changed
to GFC_INHIBIT_REVERSE.
* gfortran.h : Enum gfc_reverse is now GFC_ENABLE_REVERSE,
GFC_FORWARD_SET, GFC_REVERSE_SET and GFC_INHIBIT_REVERSE.
* dependency.c (gfc_dep_resolver): Change names for elements of
gfc_reverse as necessary. Change the logic so that forward
dependences are remembered as well as backward ones. When both
have appeared, force a temporary.

2011-05-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48955
* gfortran.dg/dependency_40.f90 : New test.

From-SVN: r174302
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/gfortran.h
gcc/fortran/trans-array.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_40.f90 [new file with mode: 0644]