http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137



--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-03-29 
22:19:05 UTC ---

The patch from comment#12 causes memory failure of the

following code:





module zero

  implicit none

contains

  subroutine foo(a)

    real, contiguous :: a(:,:)

    a(:,:) = 0

  end subroutine foo

end module zero



program main

  use zero

  implicit none

  real, dimension(5,5) :: a

  a = 1.

  call foo(a(1:5:2,1:5:2))

  write (*,'(5F12.5)') a

end program main



which is a bit strange.

Reply via email to