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

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 ! { dg-options "-fdump-tree-original" }
kono
parents:
diff changeset
3 ! PR fortran/71902 - make sure that component references are followed
kono
parents:
diff changeset
4 ! for dependency analysis.
kono
parents:
diff changeset
5 program main
kono
parents:
diff changeset
6 type foo
kono
parents:
diff changeset
7 character(len=:), allocatable :: x
kono
parents:
diff changeset
8 end type foo
kono
parents:
diff changeset
9 type(foo) :: a
kono
parents:
diff changeset
10 a%x = 'asdf'
kono
parents:
diff changeset
11 a%x = a%x(2:3)
kono
parents:
diff changeset
12 print *,a%x
kono
parents:
diff changeset
13 end program main
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
14 ! { dg-final { scan-tree-dump-times "__var_1" 4 "original" } }