------- Comment #10 from tkoenig at gcc dot gnu dot org 2010-08-02 19:00 ------- This fixes the test case from comment #0, and looks much more sane.
Let's see if this survives regression-testing... Index: dependency.c =================================================================== --- dependency.c (Revision 162824) +++ dependency.c (Arbeitskopie) @@ -1716,8 +1716,8 @@ gfc_dep_resolver (gfc_ref *lref, gfc_ref *rref, gf /* If no intention of reversing or reversing is explicitly inhibited, convert backward dependence to overlap. */ - if ((reverse == NULL && this_dep == GFC_DEP_BACKWARD) - || (reverse && reverse[n] == GFC_CANNOT_REVERSE)) + if (this_dep == GFC_DEP_BACKWARD + && (reverse == NULL || reverse[n] == GFC_CANNOT_REVERSE)) this_dep = GFC_DEP_OVERLAP; } -- tkoenig at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2010-08-01 17:37:25 |2010-08-02 19:00:32 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45159