mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr112281-1.c
blob711f5663195cb67610a74b40ac3611285bd746f9
1 /* { dg-do run } */
2 /* { dg-additional-options "-ftree-loop-distribution" } */
4 struct {
5 int : 8;
6 int a;
7 } b, d[4] = {{0}, {0}, {0}, {5}};
8 int c, e;
9 int main() {
10 for (c = 2; c; c--)
11 for (e = 0; e < 2; e++) {
12 d[c] = b = d[c + 1];
13 d[c + 1].a = 0;
15 if (b.a != 0)
16 __builtin_abort();
17 return 0;