| 1 |
/* Test there is no ICE when compile. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-march=rv64gcv_zvbb -mabi=lp64d -O3" } */ |
| 4 |
|
| 5 |
void |
| 6 |
test (short *restrict dst, char *restrict a, int *restrict b, int n) |
| 7 |
{ |
| 8 |
for (int i = 0; i < n; i++) |
| 9 |
dst[i] = a[i] << b[i]; |
| 10 |
} |