Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gfortran.dg/pr42246-2.f @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/testsuite/gfortran.dg/pr42246-2.f Fri Oct 27 22:46:09 2017 +0900 @@ -0,0 +1,21 @@ +C PR rtl-optimization/42246 +C { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } +C { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } + + subroutine distance(x,clo) + implicit real*8 (a-h,o-z) + dimension x(2,6),x1(2,6),clo(6) + do 60 i=1,2 + do 20 j=1,6 + x(i,j)=clo(j) + 20 continue + do 40 iq=1,6 + x1(i,iq)=0.0d0 + 40 continue + do 50 j=1,6 + x(i,j)=x1(i,j) + 50 continue + 60 continue + return + end +