Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/dependency_47.f90 @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! Make sure there is only one instance of a temporary variable here. | |
3 ! { dg-options "-fdump-tree-original" } | |
4 | |
5 SUBROUTINE prtdata(ilen) | |
6 INTEGER :: ilen | |
7 character(len=ilen), allocatable :: cline(:) | |
8 allocate(cline(2)) | |
9 cline(1) = 'a' | |
10 cline(1)(2:3) = cline(1)(1:2) | |
11 cline(2) = cline(1) | |
12 print *,c | |
13 END SUBROUTINE prtdata | |
14 ! { dg-final { scan-tree-dump-not "__var_" "original" } } |