libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_memcpy_1.f90
blob2d2f8f7307309d69e5852956b239eb3166850644
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 subroutine testi(a,b)
4 integer :: a(20)
5 integer :: b(20)
6 a = b;
7 end subroutine
9 subroutine testr(a,b)
10 real :: a(20)
11 real :: b(20)
12 a = b;
13 end subroutine
15 subroutine testz(a,b)
16 complex :: a(20)
17 complex :: b(20)
18 a = b;
19 end subroutine
21 subroutine testl(a,b)
22 logical :: a(20)
23 logical :: b(20)
24 a = b;
25 end subroutine
27 ! { dg-final { scan-tree-dump-times "memcpy" 4 "original" } }
28 ! { dg-final { cleanup-tree-dump "original" } }