OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [coarray/] [alloc_comp_1.f90] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
!
3
! Allocatable scalar corrays were mishandled (ICE)
4
!
5
type t
6
  integer, allocatable :: caf[:]
7
end type t
8
type(t) :: a
9
allocate (a%caf[3:*])
10
a%caf = 7
11
!print *, a%caf
12
if (a%caf /= 7) call abort ()
13
if (any (lcobound (a%caf) /= [ 3 ]) &
14
    .or. ucobound (a%caf, dim=1) /= this_image ()+2)  &
15
  call abort ()
16
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.