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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
optional_mask.f90
blob
de7bd339bd8320f56223f85fddc5f15e2930579d
1
! { dg-do compile }
2
! Bug 45794 - ICE: Segmentation fault in gfc_conv_procedure_call
3
subroutine
foo
(
vector
,
mask
)
4
real
::
vector
(:)
5
logical
,
optional
::
mask
(:)
6
integer
::
loc
(
1
)
7
if
(
present
(
mask
))
then
8
loc
=
maxloc
(
vector
,
mask
)
9
end if
10
end subroutine