------- Comment #1 from jv244 at cam dot ac dot uk 2008-11-14 08:50 ------- that might be an even simpler case:
SUBROUTINE S(a,i,j) INTEGER, POINTER, DIMENSION(:) :: a INTEGER, DIMENSION(:), ALLOCATABLE :: b INTEGER :: i,j ALLOCATE(b(10)) b(i:j)=a(i:j) END SUBROUTINE S -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38112