https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88139
--- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #4) > Record F2018 constraint. > > C1554 If proc-language-binding-spec is specified for a procedure, each > of its dummy arguments shall be an interoperable procedure (18.3.7) > or a variable that is interoperable (18.3.5, 18.3.6), assumed-shape, > assumed-rank, assumed-type, of type CHARACTER with assumed length, > or that has the ALLOCATABLE or POINTER attribute. > > I had a patch for this, but lost it when committing my last 10 patches. Thankfully, there are mailing list archives. See https://gcc.gnu.org/ml/fortran/2018-12/msg00038.html for the patch.