[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Wed Mar 21 20:24:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922
--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Mar 21, 2018 at 08:11:29PM +0000, w.clodius at icloud dot com wrote:
> --- Comment #6 from William Clodius <w.clodius at icloud dot com> ---
> My version of gfortran, 7.1, doesn’t give the first message, which is correct.
> The second message is incorrect. Either the clashing procedures should not be
> compared further, or the comparison of the shapes of the arguments should find
> that they match.
Of course, 7.1 does give the first message, as I just fixed
the issue. But, I need to pull out a copy of the Standard
to make sure the patch is correct.
One still gets the second error message as gfortran runs
a sequence of matchers in parse the code. She issues
all errors that she finds, where some are run-on errors.
Fix the first and others go away.
More information about the Gcc-bugs
mailing list