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
lto: Remove random_seed from section name.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
intent_optimize_3.f90
blob
6ecd722da7640cc1a1a149d4429e1427e6efc982
1
! { dg-do run }
2
! { dg-options "-O2" }
3
! PR99169 - Segfault passing allocatable scalar into intent(out) dummy argument
4
5
program
p
6
implicit none
7
integer
,
allocatable
::
i
8
allocate
(
i
)
9
call
set
(
i
)
10
if
(
i
/=
5
)
stop
1
11
contains
12
subroutine
set
(
i
)
13
integer
,
intent
(
out
) ::
i
14
i
=
5
15
end subroutine
set
16
end program
p