This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67311

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems with ALLOCATABLE rather than POINTER it is rejected though:
  TYPE myType
    TYPE(myType), DIMENSION(:), ALLOCATABLE :: x
  END TYPE myType
end
pr67311-2.f90:2:46:

     TYPE(myType), DIMENSION(:), ALLOCATABLE :: x
                                              1
Error: Derived type at (1) has not been previously defined and so cannot appear
in a derived type definition


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]