Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/dependency_41.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
! { dg-do run } ! { dg-options "-Warray-temporaries" } ! No temporary should be generated in this case. program main implicit none integer :: i,n integer :: a(10) integer :: b(10) do i=1,10 a(i) = i b(i) = i end do n = 1 ! Same result when assigning to a or b b(n+1:10:4) = a(n+2:8:2) a(n+1:10:4) = a(n+2:8:2) if (any (a/=b)) call abort end program main