https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98913
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:e3f9f80bfa9e58a90dfe75631921c78660342daf commit r11-7054-ge3f9f80bfa9e58a90dfe75631921c78660342daf Author: Tobias Burnus <tob...@codesourcery.com> Date: Wed Feb 3 10:34:18 2021 +0100 Fortran: Fix Array dependency with local coarrays [PR98913] gcc/fortran/ChangeLog: PR fortran/98913 * dependency.c (gfc_dep_resolver): Treat local access to coarrays like any array access in dependency analysis. gcc/testsuite/ChangeLog: PR fortran/98913 * gfortran.dg/coarray/array_temporary.f90: New test.