Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28996 Discussions

internal error: derived type containing parameterized derived type

Wukie__Nathan
Beginner
413 Views

In my case, I have a standard derived type that contains a parameterized derived type. I am not certain that this is legal, but at any rate compiling gives an internal error. I have attached simplified source files which produce the error. The standard derived type is defined as follows:

module type_one
   use type_two   !contains parameterized derived type (two_type)

   implicit none

   type, public :: one_type

      type(two_type(3)) :: two

   contains
      final :: one_destructor
   end type one_type

   private
contains

   subroutine one_destructor(self)
      type(one_type), intent(in)   :: self
   end subroutine

end module type_one

Mac OS X 10.2.2
ifort (IFORT) 15.0.2 20150121

0 Kudos
3 Replies
Steven_L_Intel1
Employee
413 Views

Thanks- we'll check it out.

0 Kudos
Steven_L_Intel1
Employee
413 Views

This is a problem we're already working on - issue ID is DPD200367078. Thanks again.

0 Kudos
Steven_L_Intel1
Employee
413 Views

This is fixed in compiler version 16

0 Kudos
Reply