This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/77533] ICE in check_dtio_interface1, at fortran/interface.c:4614


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]