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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to Jeff Hammond from comment #2)
> Is this ever going to be fixed?  I observe that a similar MCVE (below) is
> compiled without complaint by Intel, Cray and NAG Fortran, so it's almost
> certainly a lack of support for the standard in GCC.
> 
> As best I can, it is impossible to overload an interface when one of the
> specific interfaces involves type(*), dimension(..), which makes it
> impossible for me to implement MPI-3 F08 support.
> 
> My MCVE:
> 
> module f
>     implicit none
> 
>     interface test
>         module procedure test_f08
>         module procedure test_f08ts
>     end interface test
> 
>     contains
> 
>         subroutine test_f08(buf)
>             integer :: buf
>         end subroutine test_f08
> 
>         subroutine test_f08ts(buffer)
>             type(*), dimension(..), intent(inout) :: buffer
>         end subroutine test_f08ts
> 
> end module f

program foo
   use f
   integer i
   call test(i)
end program

which specific subroutine is called based on TKR?

Reply via email to