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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
BTW do you expect the ambiguity to be resolved in the following test?

Module Mod_LL_DT
  Implicit None
  Private
  Type, Public :: LLCont_DT
  contains
    Generic :: GetElement => GetElementByType,GetElementByPosition
    Procedure, PAss :: GetElementByType => SubGetElementByType
    Procedure, PAss :: GetElementByPosition => SubGetElementByPosition
  End type LLCont_DT
contains
  Subroutine SubGetElementByType(this,TSOut)
    Implicit None
    Class(LLCont_DT), Intent(InOut) :: this
!    Class(LLCont_DT), Intent(Out), Pointer :: TSOut
    integer(8), Pointer :: TSOut
  End Subroutine SubGetElementByType
  Subroutine SubGetElementByPosition(this,ISPos)
    Implicit None
    Class(LLCont_DT), Intent(InOut) :: this
    Integer(8) :: ISPos
  End Subroutine SubGetElementByPosition
End Module Mod_LL_DT

Reply via email to