c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gnat.dg / vect18.adb
blob91b1175248d44182200a808abd3a8627bdf370e2
1 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
2 -- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
4 package body Vect18 is
6 procedure Comp (X, Y : Sarray; R : in out Sarray) is
7 Tmp : Long_Float := R(4);
8 begin
9 for I in 1 .. 3 loop
10 R(I+1) := R(I) + X(I) + Y(I);
11 end loop;
12 R(1) := Tmp + X(4) + Y(4);
13 end;
15 end Vect18;
17 -- { dg-final { scan-tree-dump "bad data dependence" "vect" } }