| 1 |
/* PR rtl-optimization/86334 */ |
| 2 |
/* { dg-do run { target ia32 } } */ |
| 3 |
/* { dg-options "-O -march=i386 -mtune=athlon -minline-all-stringops -minline-stringops-dynamically -mmemcpy-strategy=libcall:-1:align -Wno-psabi" } */ |
| 4 |
|
| 5 |
typedef int V __attribute__ ((vector_size (64))); |
| 6 |
|
| 7 |
static inline V |
| 8 |
foo (V g) |
| 9 |
{ |
| 10 |
g[0] = 4; |
| 11 |
return g; |
| 12 |
} |
| 13 |
|
| 14 |
int |
| 15 |
main () |
| 16 |
{ |
| 17 |
V x = foo ((V) { }); |
| 18 |
if (x[0] != 4 || x[1] || x[2] || x[3] || x[4] || x[5] || x[6] || x[7]) |
| 19 |
__builtin_abort (); |
| 20 |
return 0; |
| 21 |
} |