| 1 |
/* { dg-do run } */ |
| 2 |
/* { dg-require-effective-target riscv_v_ok } */ |
| 3 |
/* { dg-add-options riscv_v } */ |
| 4 |
/* { dg-additional-options "-std=gnu99 -Wno-pedantic" } */ |
| 5 |
|
| 6 |
long a; |
| 7 |
char b; |
| 8 |
char c[22][484]; |
| 9 |
int main() { |
| 10 |
for (int e = 4; e < 33; e++) { |
| 11 |
for (int f = 0; f < 3; f++) |
| 12 |
for (int g = 0; g < 18; g++) { |
| 13 |
c[f][g * 22] = 1; |
| 14 |
a = ({ a > 1 ? a : 1; }); |
| 15 |
} |
| 16 |
for (int i = 0; i < 33; i++) |
| 17 |
for (int h = 0; h < 6; h++) |
| 18 |
for (int j = 0; j < 17; j++) |
| 19 |
b = ({ b > 17 ? b : 17; }); |
| 20 |
} |
| 21 |
if (c[1][44] != 1) |
| 22 |
__builtin_abort (); |
| 23 |
} |