1! { dg-do compile }
2! PR23906
3! Dependency analysis was using the stride from the wrong expression and
4! segfaulting
5subroutine foo(a)
6  real, dimension(:) :: a
7
8  a(1:3:2) = a(1:2)
9  a(1:2) = a(1:3:2)
10end subroutine
11
12