Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
20 Views

Internal compiler error with conflicting or multiple declarations involving parameterized derived types

module m

   implicit none

   type t(n)
      integer, len :: n
      integer :: i(n)
   end type t

   type(t(n=:)), allocatable :: foo

   type foo(n)
      integer, len :: n
      integer :: i(n)
   end type foo

end module m
Compiling with Intel(R) Visual Fortran Compiler 16.0 [Intel(R) 64]...
m.f90
m.f90(12): error #6406: Conflicting attributes or multiple declaration of name.   [FOO]
fortcom: Fatal: There has been an internal compiler error (C0000005).
compilation aborted for m.f90 (code 1)

 

0 Kudos
1 Reply
Highlighted
Employee
20 Views

Thank you for the report and nice reproducer. I submitted this to Development.

(Internal tracking id: DPD200377533)

0 Kudos