Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/do_concurrent_6.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
131 | 1 ! { dg-do compile } |
2 ! { dg-additional-options "-fdump-tree-original" } | |
3 | |
4 program main | |
5 real, dimension(100) :: a,b | |
6 call random_number(a) | |
7 do concurrent (i=1:100) | |
8 b(i) = a(i)*a(i) | |
9 end do | |
10 print *,sum(a) | |
11 end program main | |
12 | |
13 ! { dg-final { scan-tree-dump-times "ivdep" 1 "original" } } |