https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 33111 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33111&action=edit Patch for the PR The loop reversal mechanism was missing the element before the reversed loop. In consequence loop.reverse[1] was being set instead of loop.reverse[0], which corresponds to the loop dimension. It regtests with dg.exp=gfortran.dg/dep* . I am regtesting the whole suite now. I will commit to trunk as 'obvious' if all is well. Cheers Paul