Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

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

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
    Highlighted
    Valued Contributor I

    Confirmed, works with v17 and

    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