re PR fortran/57992 (Pointless packing of contiguous arrays for simply contiguous...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 13 Jan 2019 14:57:39 +0000 (14:57 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 13 Jan 2019 14:57:39 +0000 (14:57 +0000)
commit8ef8fa9a4de095b17647b65b22081413d6afd171
tree1cc2fe21c165c2700c15ca13240553c5f4dd3f00
parent234c38181acfb1e3980bd4a6974328d097b922f1
re PR fortran/57992 (Pointless packing of contiguous arrays for simply contiguous functions results as actual arguments)

2019-01-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/57992
* trans-array.c (gfc_conv_array_parameter):  Do not pack/unpack
functions with contiguous results.

2019-01-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/59345
* gfortran.dg/internal_pack_18.f90: New test.

From-SVN: r267905
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/internal_pack_18.f90 [new file with mode: 0644]