2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / vect16.adb
blob99fe32081de089d087a0067f9d2bf40161cd2a71
1 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
2 -- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
4 package body Vect16 is
6 procedure Add_Sub (X, Y : Sarray; R,S : out Sarray) is
7 begin
8 for I in Sarray'Range loop
9 R(I) := X(I) + Y(I);
10 S(I) := X(I) - Y(I);
11 end loop;
12 end;
14 end Vect16;
16 -- { dg-final { scan-tree-dump-not "possible aliasing" "vect" } }