This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Aug 2015 18:59:52 +0000
- Subject: [Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region
- Auto-submitted: auto-generated
- References: <bug-67311-4 at http dot gcc dot gnu dot org/bugzilla/>
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