2 ! { dg-additional-sources pr96628-part2.f90 }
3 ! { dg-additional-options "-ftree-slp-vectorize" }
5 ! This file is compiled first
7 ! { dg-additional-options -Wuninitialized }
11 !$acc declare device_resident(mysum)
15 REAL*8, INTENT(IN
) :: t(:)
20 REAL*8, INTENT(INOUT
) :: t(:)
22 ! { dg-warning {'sum' is used uninitialized} {} { target *-*-* } .-1 }
23 ! { dg-note {'sum' was declared here} {} { target *-*-* } .-2 }