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: unassig...@gcc.gnu.org
        ReportedBy: mik...@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

Reply via email to