diff options
author | Thomas König <tkoenig@gcc.gnu.org> | 2020-04-25 12:28:15 +0200 |
---|---|---|
committer | Thomas König <tkoenig@gcc.gnu.org> | 2020-04-25 12:28:15 +0200 |
commit | cf3f7b309ffdd888fdd85048ac9b4bcdc2713a45 (patch) | |
tree | 9176ecce77f2ef37f511c9ca626c7f8fe0947fba /config | |
parent | ead1c27a5308e8ff3bae6d663c8890d4b24da7c3 (diff) | |
download | gcc-cf3f7b309ffdd888fdd85048ac9b4bcdc2713a45.zip gcc-cf3f7b309ffdd888fdd85048ac9b4bcdc2713a45.tar.gz gcc-cf3f7b309ffdd888fdd85048ac9b4bcdc2713a45.tar.bz2 |
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 <tkoenig@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 <tkoenig@gcc.gnu.org>
PR fortran/94578
* gfortran.dg/pointer_assign_14.f90: New test.
* gfortran.dg/pointer_assign_15.f90: New test.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions