Re: [Patch, fortran] PR88929 - ICE on building MPICH 3.2 with GCC 9 with ISO_Fortran_binding

2019-01-23 Thread Paul Richard Thomas
Hi Steve, Fixed in revision 268231. This was a copy/paste/modify with the type built in. Have corrected both. > > tree > > + gfc_conv_descriptor_elem_len (tree desc) > > + { > > + tree tmp; > > + tree dtype; > > + > > + dtype = gfc_conv_descriptor_dtype (desc); > > + tmp =

Re: [Patch, fortran] PR88929 - ICE on building MPICH 3.2 with GCC 9 with ISO_Fortran_binding

2019-01-23 Thread Steve Kargl
On Wed, Jan 23, 2019 at 07:43:48PM +, Paul Richard Thomas wrote: > > Bootstrapped and regtested on FC28/x86_64 - OK for trunk? > Yes with minor fixes. > Index: gcc/fortran/trans-array.c > === > *** gcc/fortran/trans-array.c

[Patch, fortran] PR88929 - ICE on building MPICH 3.2 with GCC 9 with ISO_Fortran_binding

2019-01-23 Thread Paul Richard Thomas
The attached patch allows MPICH 3.2 to build correctly and to test successfully. Two problems were addressed: (i) The original implementation of ISO_Fortran_binding did not take account of the possibility that assumed rank/assumed type arrays could be passed as dummy arguments. This necessitated