| 1 |
/* Test that we do not have ice when compile */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-mrvv-vector-bits=scalable -march=rv32gcv_zvl256b -mabi=ilp32d -O3" } */ |
| 4 |
|
| 5 |
int a, c, d, f, j; |
| 6 |
int b[7]; |
| 7 |
long e; |
| 8 |
char *g; |
| 9 |
int *h; |
| 10 |
long long *i; |
| 11 |
|
| 12 |
void k() { |
| 13 |
int l[][1] = {{}, {1}, {1}}; |
| 14 |
int *m = &d, *n = &l[0][0]; |
| 15 |
|
| 16 |
for (; e;) |
| 17 |
{ |
| 18 |
f = 3; |
| 19 |
|
| 20 |
for (; f >= 0; f--) |
| 21 |
{ |
| 22 |
*m &= b[f] >= 0; |
| 23 |
j = a >= 2 ? 0 : 1 >> a; |
| 24 |
*i |= j; |
| 25 |
} |
| 26 |
|
| 27 |
for (; c;) |
| 28 |
*g = 0; |
| 29 |
} |
| 30 |
|
| 31 |
h = n; |
| 32 |
} |