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
hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
internal_pack_23.f90
blob
8df82c8b36b0a4c3570b2aac4c4053ebfc7b2ae8
1
! { dg-do run }
2
! PR fortran/90539 - this used to cause an ICE.
3
4
module
t2
5
implicit none
6
contains
7
subroutine
foo
(
a
)
8
real
,
dimension
(*) ::
a
9
if
(
a
(
1
) /=
1.0
.
or
.
a
(
2
) /=
2.0
)
stop
1
10
end subroutine
foo
11
end module
t2
12
13
module
t1
14
use
t2
15
implicit none
16
contains
17
subroutine
bar
(
a
)
18
real
,
dimension
(:) ::
a
19
if
(
a
(
1
) /=
1.0
.
or
.
a
(
2
) /=
2.0
)
stop
1
20
call
foo
(
a
)
21
end subroutine
bar
22
end module
t1
23
24
program
main
25
use
t1
26
call
bar
([
1.0
,
2.0
])
27
end program
main