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

catastrophic error related to coarray and user-defined type assignment that contains allocatable array

Zuodong_Y_
Novice
302 Views

The following code use to work on Version 17.0.4.196 Build 20170411 but get catastrophic error on Version 18.0.1.163 Build 20171018

module test
        implicit none
        type t_b
                integer, allocatable :: i(:)
        end type
        type t_a
                type(t_b) :: p
        end type
contains
        subroutine do_thing(self)
                type(t_a) :: self
  • type(t_b) :: s s=self%p end subroutine end module
  •  

    compiled with ifort -c -coarray. Any reason for that?

    0 Kudos
    1 Reply
    Juergen_R_R
    Valued Contributor II
    302 Views

    Confirmed, works with v17 and gives an internal error with v18 and v19. Please report the issue here: https://supporttickets.intel.com/servicecenter

    0 Kudos
    Reply