This is the mail archive of the
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 91390 - treatment of extra parameter in a subroutine call
OK. Thanks for taking on this task.
Committed (r274902). Thanks for the review!
As to the open question about how to handle this check,
I would create -fallow-argument-mismatch (or whatever
option name you like). gfortran issues an error if
a mismatch is detected. -fallow-... would reduce the
error to warning, which can only be silenced with -w.
Hopefully, this will encourage users to fix the code.
Yes, that is what I will submit next. -fallow-argument-mismatch
sounds like a good name, unless somebody else comes up with a