[Bug fortran/98913] Create-temporary difference coarray/noncoarray – invalid code due to missing temporary

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 3 09:34:43 GMT 2021


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 <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:e3f9f80bfa9e58a90dfe75631921c78660342daf

commit r11-7054-ge3f9f80bfa9e58a90dfe75631921c78660342daf
Author: Tobias Burnus <tobias@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.


More information about the Gcc-bugs mailing list