Emit SIMD moves as mov
[official-gcc.git] / gcc / testsuite / gfortran.dg / arrayio_14.f90
blob3d878c756448a2e9fa7e8e4adb2e14582e1fb441
1 ! { dg-do run }
2 ! PR61173.f90 Bogus END condition
3 module bd
4 character(len=25, kind=1), dimension(:), allocatable, save :: source
5 contains
6 subroutine init_data
7 allocate(source(2))
8 source=[" 1 1 1 ", " 4 4 4 "]
9 end subroutine init_data
10 end module bd
11 program read_internal
12 use bd
13 integer :: x(6),i
15 call init_data
16 read(source,*) (x(i), i=1,6)
17 if (any(x/=[1,1,1,4,4,4])) call abort
18 end program read_internal