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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
dependency_11.f90
blob
22c368c8ea1b621505dd9b6657d902be4b48dd65
1
! { dg-do compile }
2
! { dg-options "-O2 -fdump-tree-original" }
3
subroutine
foo
(
a
)
4
integer
,
dimension
(
4
) ::
a
5
integer
::
n
6
7
n
=
3
8
where
(
a
(:
n
-
1
) .
ne
.
0
)
9
a
(:
n
-
1
) =
1
10
endwhere
11
end subroutine
12
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }