[patch, fortran, committed] Fix PR 91643, repacking of assumed rank argument

Thomas Koenig tkoenig@netcologne.de
Tue Dec 10 22:00:00 GMT 2019


Hello world,

this fixes a regression introduced by my inline repacking patch.
With the test case, it is simple and obvious enough - do not repack
an assumed rank argument (which makes no sense).

Committed as obvious and simple as r279203 after regression-testing.


2019-12-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/91643
	* trans-array.c (gfc_conv_array_parameter): Do not repack
	an assume dummy argument.

2019-12-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/91643
	* gfortran.dg/assumed_rank_18.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20191210/1d5c10d8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assumed_rank_18.f90
Type: text/x-fortran
Size: 306 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20191210/1d5c10d8/attachment-0001.bin>


More information about the Fortran mailing list