| 1 |
/* PR middle-end/123447 */ |
| 2 |
/* { dg-do compile { target aarch64*-*-* } } */ |
| 3 |
/* { dg-options "-O2 -mstrict-align" } */ |
| 4 |
|
| 5 |
typedef __attribute__((__vector_size__(32))) _Decimal64 D; |
| 6 |
typedef __attribute__((__vector_size__(64))) int V; |
| 7 |
typedef __attribute__((__vector_size__(64))) _Decimal64 D64; |
| 8 |
|
| 9 |
D d; |
| 10 |
|
| 11 |
void foo1 () { |
| 12 |
D _4; |
| 13 |
D64 _5; |
| 14 |
V _1; |
| 15 |
_1 = (V) { 9, -64497, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; |
| 16 |
_5 = (D64) _1; |
| 17 |
_4 = __builtin_shufflevector (_5, _5, 0, 1, 2, 3); |
| 18 |
d = _4; |
| 19 |
} |