1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized -w" } */
3 /* Check that SRA does non block copies for structs that just contain vectors. */
5 #define vector __attribute__((vector_size(16)))
13 vector
int f(vector
int t1
, vector
int t2
)
15 struct vt st1
, st2
, st3
;
23 /* There should be no references to st as SRA should not have done block copy. */
24 /* { dg-final { scan-tree-dump-times "st" 0 "optimized" } } */
25 /* { dg-final { cleanup-tree-dump "optimized" } } */