2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_memcpy_3.f90
blob05915877b159bd08d671c3224cdee25de5aee106
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
4 subroutine foo(x)
5 integer :: x(4)
6 x(:) = (/ 3, 1, 4, 1 /)
7 end subroutine
9 subroutine bar(x)
10 integer :: x(4)
11 x = (/ 3, 1, 4, 1 /)
12 end subroutine
14 ! { dg-final { scan-tree-dump-times "memcpy" 2 "original" } }
15 ! { dg-final { cleanup-tree-dump "original" } }