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
libgfortran/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_memcpy_3.f90
blob
0c4964d8fe3db46780482079ecd76c78623d0b38
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" } }
15
! { dg-final { cleanup-tree-dump "original" } }