[patch, fortran, committed] Fix PR 57792

Thomas Koenig tkoenig@netcologne.de
Sun Jan 13 15:01:00 GMT 2019


Hell world,

as part of the contiguous improvement process in gfortran, I have
committed the patch below as obvious.  gfortran now does not pack/unpack
if a function result is contiguous.

Regards

	Thomas


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/57792
	* gfortran.dg/internal_pack_18.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p5.diff
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190113/ffe416fd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: internal_pack_18.f90
Type: text/x-fortran
Size: 473 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190113/ffe416fd/attachment-0001.bin>


More information about the Gcc-patches mailing list