This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77533] ICE in check_dtio_interface1, at fortran/interface.c:4614
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Sep 2016 18:34:36 +0000
- Subject: [Bug fortran/77533] ICE in check_dtio_interface1, at fortran/interface.c:4614
- Auto-submitted: auto-generated
- References: <bug-77533-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77533
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Sidenote : one message mentions a "KIND = 0".
$ cat z3.f90
module m
type t
contains
procedure :: s
generic :: write(formatted) => s
end type
contains
subroutine s(x)
class(t), intent(in) : x
end
end
$ gfortran-7-20160904 z3.f90
z3.f90:9:15:
class(t), intent(in) : x
1
Error: Invalid character in name at (1)
z3.f90:4:15:
procedure :: s
1
Error: Non-polymorphic passed-object dummy argument of 's' at (1)
z3.f90:8:17:
subroutine s(x)
1
Error: DTIO dummy argument at (1) must be of type CLASS
z3.f90:8:17:
subroutine s(x)
1
Error: DTIO dummy argument at (1) must be of KIND = 0
z3.f90:8:17:
subroutine s(x)
1
Error: DTIO dummy argument at (1) must have intent IN