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
c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
sum_zero_array_1.f90
blob
ec128d5cddfac32e6f63719fe216ca6e1b546208
1
! { dg-do run }
2
! PR 30321: This used to segfault.
3
program
xzero
4
implicit none
5
integer
::
ii
(
1
,
0
)
6
logical
::
ll
(
1
,
0
)
7
character
(
len
=
80
)
line
8
ll
= .
true
.
9
write
(
unit
=
line
,
fmt
=
"(I6)"
)
sum
(
ii
,
dim
=
1
)
10
if
(
line
/=
" "
)
STOP
1
11
write
(
unit
=
line
,
fmt
=
"(I6)"
)
sum
(
ii
,
dim
=
1
,
mask
=
ll
)
12
if
(
line
/=
" "
)
STOP
2
13
end program
xzero