2 ! PR 21075: Reshape with rank 7 used to segfault.
4 integer :: a(256), b(2,2,2,2,2,2,2)
8 b
= reshape(a(1:256:2), shape(b
))
16 if (b(i1
,i2
,i3
,i4
,i5
,i6
,i7
) /= &
17 2*((i1
-1)+(i2
-1)*2+(i3
-1)*4+(i4
-1)*8+&
18 (i5
-1)*16+(i6
-1)*32+(i7
-1)*64)+1) &