Debian Codegraph @

gcc/testsuite/gfortran.dg/vect/pr68855.f90

raw
1 ! { dg-do compile }
2 ! { dg-require-effective-target vect_float }
3
4 ! { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } }
5 ! PAREN_EXPR should not cause the vectorization of complex float add to be missed.
6
7 subroutine foo(a,n)
8
9 complex (kind(1.0)) :: a(*)
10 integer :: i,n
11
12 do i=1,n
13 a(i)=(a(i)+(6.0,1.0))
14 enddo
15
16 end subroutine foo