https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Thomas Kथà¤nig <tkoe...@gcc.gnu.org>:

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

commit r10-7960-gcf3f7b309ffdd888fdd85048ac9b4bcdc2713a45
Author: Thomas König <tkoe...@gcc.gnu.org>
Date:   Sat Apr 25 12:28:15 2020 +0200

    Fix PR 94578.

    Our intrinsics do not handle spans on their return values (yet),
    so this creates a temporary for subref array pointers.

    2020-04-25  Thomas Koenig  <tkoe...@gcc.gnu.org>

            PR fortran/94578
            * trans-expr.c (arrayfunc_assign_needs_temporary): If the
            LHS is a subref pointer, we also need a temporary.

    2020-04-25  Thomas Koenig  <tkoe...@gcc.gnu.org>

            PR fortran/94578
            * gfortran.dg/pointer_assign_14.f90: New test.
            * gfortran.dg/pointer_assign_15.f90: New test.

Reply via email to