RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gnat.dg / vect17.adb
blob76b6fc7de5a2d9ce8737eb7322958e95b05d6b85
1 -- { dg-do compile { target i?86-*-* x86_64-*-* } }
2 -- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
4 package body Vect17 is
6 procedure Add (X, Y : aliased Sarray; R : aliased out Sarray) is
7 begin
8 R(1) := X(5) + Y(5);
9 for I in 1 .. 4 loop
10 R(I + 1) := X(I) + Y(I);
11 end loop;
12 end;
14 end Vect17;
16 -- { dg-final { scan-tree-dump "possible aliasing" "vect" } }