Re: [patch, fortran] Fix PR 57048

2019-01-29 Thread Thomas König
Hi Steve, Thanks for the patch, and OK to commit. Committed to trunk (r268372). Thanks! I will backport to the affected branches later in the week. Regards Thomas

Re: [patch, fortran] Fix PR 57048

2019-01-29 Thread Steve Kargl
On Tue, Jan 29, 2019 at 10:12:49PM +0100, Thomas König wrote: > Hi Steve, > > >>PR fortran/57048 > >>* interface.c (gfc_compare_types): If a derived type and an > >>integer both have a derived type, and they are identical, > >>this is a C binding type and compares equal. > > > > I

Re: [patch, fortran] Fix PR 57048

2019-01-29 Thread Thomas König
Hi Steve, PR fortran/57048 * interface.c (gfc_compare_types): If a derived type and an integer both have a derived type, and they are identical, this is a C binding type and compares equal. I don't understand this sentence. How can an INTEGER have a derived typ

Re: [patch, fortran] Fix PR 57048

2019-01-29 Thread Steve Kargl
On Mon, Jan 28, 2019 at 08:49:52PM +0100, Thomas König wrote: > > the attached patch fixes a long-time regression where a c_funptr from a > module could not be found. > > The solution is a bit of a hack, but so is our whole implementation of > the C interop stuff. > > Regression-tested. OK for t