2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr33449.f90
blob98480b13e7af37343620847e03a5af7cf18a165f
1 ! { dg-do compile }
2 ! { dg-options "-O2 -ftree-vectorize" }
4 ! Testcase for vectorization (see PR33449).
6 subroutine dlarre (w, iblock, work)
7 integer m, i, iblock(*)
8 double precision w(*), work(*)
10 m = 0
11 do jblk = 1, 10
12 do i = 1, 10
13 m = m + 1
14 w(m) = -work(i)
15 iblock(m) = 0
16 end do
17 end do
18 end