[Bug fortran/50420] New: [Coarray] lcobound doesn't accept coarray subcomponents
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 15 17:17:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50420
Bug #: 50420
Summary: [Coarray] lcobound doesn't accept coarray
subcomponents
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mikael@gcc.gnu.org
This code is modified from coarray/alloc_comp_1.f90:
type t
integer :: i
end type t
type(t), allocatable :: a[:]
allocate(a[3:*])
a%i = 7
if (a%i /= 7) call abort
print *, lcobound(a%i)
end
With (patched) trunk, I get:
f951: internal compiler error: in simplify_cobound, at fortran/simplify.c:3552
More information about the Gcc-bugs
mailing list