| 1 |
/* PR target/80583 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O0 -mno-avx" } */ |
| 4 |
|
| 5 |
typedef int V __attribute__((__vector_size__(32))); |
| 6 |
struct S { V a; }; |
| 7 |
|
| 8 |
V __attribute__((target ("avx"))) |
| 9 |
foo (struct S *b) |
| 10 |
{ |
| 11 |
V x = b->a; |
| 12 |
return x; |
| 13 |
} |