https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539
--- Comment #21 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- OK, if the callee is a C function... what is its declaration on the Fortran side? Is there any interface, bind(c) or otherwise? I suppose there must be something, otherwise nf_put_vara_double would have a trailing underscore. On the caller side, I see that an array is passed, but the fsym has rank=0. I think this would be flagged otherwise.