This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Mar 2018 18:59:14 +0000
- Subject: [Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
- Auto-submitted: auto-generated
- References: <bug-84922-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #4 from kargl at gcc dot gnu.org ---
My version of gfortran gives
gfcx -c a.f90
a.f90:4:38:
module subroutine copy_byte_data(data, copy)
1
a.f90:12:31:
subroutine copy_byte_data(data, copy)
2
Error: Procedure 'copy_byte_data' defined in interface body at (1) clashes with
internal procedure defined at (2)
a.f90:12:36:
subroutine copy_byte_data(data, copy)
1
Error: Shape mismatch in argument 'data' at (1)
Not sure if this is correct, though.