On Thu, Jun 20, 2019 at 12:10 AM Steve Kargl <s...@troutmask.apl.washington.edu> wrote: > > Revision 126185 introduced ISO C Binding to gfortran. > In that revision, a check for a conflict between a > derived type with the PRIVATE attribute and BIND(C) was > introduced. After checking the F2003, F2008, and F2018 > standards, I cannot find this restriction. Thus, the > check is removed by the attached patch. Regression > checked on x86_64-*-freebsd. OK to commit? > > 2019-06-19 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/86587 > * symbol.c (verify_bind_c_derived_type): Remove erroneous error > checking for BIND(C) and PRIVATE attributes. > > 2019-06-19 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/86587 > * gfortran.dg/pr86587.f90: New test. > > -- > Steve
Ok. -- Janne Blomqvist