Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! { dg-options "-fdump-tree-original" } | |
3 ! PR fortran/71902 - make sure that component references are followed | |
4 ! for dependency analysis. | |
5 program main | |
6 type foo | |
7 character(len=:), allocatable :: x | |
8 end type foo | |
9 type(foo) :: a | |
10 a%x = 'asdf' | |
11 a%x = a%x(2:3) | |
12 print *,a%x | |
13 end program main | |
131 | 14 ! { dg-final { scan-tree-dump-times "__var_1" 4 "original" } } |