- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi. I'm using
> ifort --version
ifort (IFORT) 12.1.3 20120212
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
on
> uname -a
Linux stonehenge 3.3.4-3.fc16.x86_64 #1 SMP Thu May 3 14:46:44 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
With input source
> cat class.f90
subroutine s(c)
type :: t
end type t
class(t) :: c
end subroutine s
c is converted into type(t) in the output:
> ifort -c -gen-interfaces class.f90 ; cat s__genmod.f90
!COMPILER-GENERATED INTERFACE MODULE: Fri May 11 08:55:58 2012
MODULE S__genmod
INTERFACE
SUBROUTINE S(C)
TYPE T
END TYPE T
TYPE (T) :: C
END SUBROUTINE S
END INTERFACE
END MODULE S__genmod
> ifort --version
ifort (IFORT) 12.1.3 20120212
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
on
> uname -a
Linux stonehenge 3.3.4-3.fc16.x86_64 #1 SMP Thu May 3 14:46:44 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
With input source
> cat class.f90
subroutine s(c)
type :: t
end type t
class(t) :: c
end subroutine s
c is converted into type(t) in the output:
> ifort -c -gen-interfaces class.f90 ; cat s__genmod.f90
!COMPILER-GENERATED INTERFACE MODULE: Fri May 11 08:55:58 2012
MODULE S__genmod
INTERFACE
SUBROUTINE S(C)
TYPE T
END TYPE T
TYPE (T) :: C
END SUBROUTINE S
END INTERFACE
END MODULE S__genmod
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks - this appears to affect only the generated .f90 which is never used by the compiler. The .mod correctly indicates the argument is polymorphic. I will let the developers know. Issue ID is DPD200181984.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
This has been fixed for a release later ths year.