[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Sat Mar 17 17:34:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> ---
NAG, Intel and Sunf95 reject the code with a duplicate symbol error.

After removing the 'module' before subroutine and some cleanup, NAG prints:

NAG Fortran Compiler Release 6.1(Tozai) Build 6106
Error: pr84922.f90, line 14: Duplicate subprogram name COPY_BYTE_DATA
       detected at SUBROUTINE@COPY_BYTE_DATA

So probably gfortran just produces a misleading error message...


More information about the Gcc-bugs mailing list