aboutsummaryrefslogtreecommitdiff
path: root/libgomp/target.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2023-06-12 23:08:48 +0200
committerHarald Anlauf <anlauf@gmx.de>2023-06-13 20:07:51 +0200
commitc1691509e5a8875f36c068a5ea101bf13f140948 (patch)
treee810a17861c1946f9cbc95347f0cab4246f6b16f /libgomp/target.c
parentb15d46e8057bf58b5e021011ee6e0c07d6cdf712 (diff)
downloadgcc-c1691509e5a8875f36c068a5ea101bf13f140948.zip
gcc-c1691509e5a8875f36c068a5ea101bf13f140948.tar.gz
gcc-c1691509e5a8875f36c068a5ea101bf13f140948.tar.bz2
Fortran: fix passing of zero-sized array arguments to procedures [PR86277]
gcc/fortran/ChangeLog: PR fortran/86277 * trans-array.cc (gfc_trans_allocate_array_storage): When passing a zero-sized array with fixed (= non-dynamic) size, allocate temporary by the caller, not by the callee. gcc/testsuite/ChangeLog: PR fortran/86277 * gfortran.dg/zero_sized_14.f90: New test. * gfortran.dg/zero_sized_15.f90: New test. Co-authored-by: Mikael Morin <mikael@gcc.gnu.org>
Diffstat (limited to 'libgomp/target.c')
0 files changed, 0 insertions, 0 deletions