[Bug fortran/65397] New: [Coarrays][OOP] ICE in resolve_ordinary_assign
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 11:11:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65397
Bug ID: 65397
Summary: [Coarrays][OOP] ICE in resolve_ordinary_assign
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
The following valid program ICEs with -fcoarray=lib in resolve_ordinary_assign.
subroutine five
implicit none
type t
integer, pointer :: a
integer :: b
end type t
type t2
class(t), allocatable :: caf2[:]
end type t2
class(t), save, allocatable :: caf[:]
type(t) :: x
type(t2) :: y
x = caf[4] ! <<<< ICE
x = y%caf2[5] ! <<<< ICE
end subroutine five
More information about the Gcc-bugs
mailing list