repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_memcpy_3.f90
blob
7635a302257a9774ecb8235a7276025c63678c84
1
! { dg-do compile }
2
! { dg-options "-O2 -fdump-tree-original" }
3
4
subroutine
foo
(
x
)
5
integer
::
x
(
4
)
6
x
(:) = (/
3
,
1
,
4
,
1
/)
7
end subroutine
8
9
subroutine
bar
(
x
)
10
integer
::
x
(
4
)
11
x
= (/
3
,
1
,
4
,
1
/)
12
end subroutine
13
14
! { dg-final { scan-tree-dump-times "memcpy|ref-all\[^\\n\]*ref-all" 2 "original" } }