https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92361
--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Tue, Nov 05, 2019 at 10:17:50AM +0000, gilles.filippini at free dot fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92361 > > --- Comment #5 from Gilles Filippini <gilles.filippini at free dot fr> --- > Created attachment 47175 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47175&action=edit > Tentative self-contained test case for PR92361 > > Here is a tentative self-contained test case, made after the original > cgread_f03 test from libcgns. Thanks for the testcase. This confirms Thomas speculation that you are calling a vararg C function from Fortran. That is not supported by the Fortran standard nor by gfortran as an extension. The subroutine calls in the Fortran code looks as if the subroutine uses optional arguments, but that then would require an explicit interface for the subroutine. Your code does not have an explicit interface. In other words, this PR should be closed as INVALID.