mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr106892.c
blob73a66a037b7a57b3a07c411a18d386e617ddd933
1 /* { dg-do run } */
3 int a, b, c, d, e;
4 int f[8];
5 static int g() {
6 while (a)
7 a >>= 4;
8 return 0;
10 static int h(int i) {
11 if (i >= '0')
12 return i - '0';
13 //__builtin_unreachable ();
15 void __attribute__((noipa)) j(int i) {
16 for (b = 2; g() <= 7; b++)
17 if (i) {
18 for (; e <= 7; e++)
19 for (c = 1; c <= 7; c++) {
20 d = h(b + '0');
21 f[-d + 4] ^= 3;
23 return;
26 int main() {
27 j(1);
28 if (f[2] != 0)
29 __builtin_abort ();