Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gnat.dg/vect17.adb @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 -- { dg-do compile { target i?86-*-* x86_64-*-* } } |
2 -- { dg-options "-O3 -msse2 -fdump-tree-vect-details" } | |
3 | |
4 package body Vect17 is | |
5 | |
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; | |
13 | |
14 end Vect17; | |
15 | |
16 -- { dg-final { scan-tree-dump "possible aliasing" "vect" } } |