annotate gcc/testsuite/gfortran.dg/pr64528.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! PR fortran/64528
kono
parents:
diff changeset
2 ! { dg-do compile }
kono
parents:
diff changeset
3 ! { dg-options "-O -fno-tree-dce -fno-tree-ccp" }
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 program pr64528
kono
parents:
diff changeset
6 interface
kono
parents:
diff changeset
7 subroutine foo(x)
kono
parents:
diff changeset
8 integer, value :: x
kono
parents:
diff changeset
9 end subroutine foo
kono
parents:
diff changeset
10 end interface
kono
parents:
diff changeset
11 integer :: x
kono
parents:
diff changeset
12 x = 10
kono
parents:
diff changeset
13 call foo(x)
kono
parents:
diff changeset
14 if(x .ne. 10) then
kono
parents:
diff changeset
15 endif
kono
parents:
diff changeset
16 end program pr64528
kono
parents:
diff changeset
17 subroutine foo(x)
kono
parents:
diff changeset
18 integer, value :: x
kono
parents:
diff changeset
19 x = 11
kono
parents:
diff changeset
20 end subroutine foo