Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gfortran.dg / array_memcpy_3.f90
blob0c4964d8fe3db46780482079ecd76c78623d0b38
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|ref-all\[^\\n\]*ref-all" 2 "original" } }
15 ! { dg-final { cleanup-tree-dump "original" } }