OSDN Git Service

2010-12-02 Thomas Koenig <tkoenig@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index ae2f033..36b2ef2 100644 (file)
@@ -1,5 +1,17 @@
 2010-12-02  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
+       PR fortran/45159
+       * dependency.c (check_section_vs_section):  Pre-calculate
+       the relationship between the strides and the relationship
+       between the start values.  Use an integer constant one for
+       that purpose.
+       Forward dependencies for positive strides apply for where
+       the lhs start <= rhs start and lhs stride <= rhs stride
+       and vice versa for negative stride.  No need to compare
+       end expressions in either case (assume no bounds violation).
+
+2010-12-02  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
        * trans-array.c (gfc_could_be_alias):  Handle BT_CLASS
        as well as BT_DERIVED.
        (gfc_array_allocate):  Likewise.