+2011-04-06 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/18918
+ PR fortran/48477
+ * gfortran.dg/coarray_13.f90: Avoid out-of-bounds access.
+
2011-04-06 Steve Ellcey <sje@cup.hp.com>
* gcc.dg/mtune.c: Prune note from output.
2011-04-04 Yufeng Zhang <yufeng.zhang@arm.com>
- * g++.dg/abi/arm_cxa_vec1.C (__ARM_EABI__): Fix typo.
+ * g++.dg/abi/arm_cxa_vec1.C (__ARM_EABI__): Fix typo.
(cctor): Actually return the value.
(main): Cast return values.
integer :: n
integer :: A(-1:3,0:4,-2:5,-4:7)[n+2:n+5,n-1:*]
- A(1,1,1,1) = 42
- if (A(1,1,1,1) /= 42) call abort()
- A(1,1,1,1)[4,n] = -42
- if (A(1,1,1,1)[4,n] /= -42) call abort()
+ A(-1,0,-2,-4) = 42
+ if (A(-1,0,-2,-4) /= 42) call abort()
+ A(1,0,-2,-4) = 99
+ if (A(1,0,-2,-4) /= 99) call abort()
if (this_image(A,dim=1) /= n+2) call abort()
if (lcobound (A,dim=1) /= n+2) call abort()