| 1 |
/* { dg-require-effective-target float128 } */ |
| 2 |
/* { dg-options "-O2 -mdejagnu-cpu=power9 -fselective-scheduling2" } */ |
| 3 |
|
| 4 |
/* Verify there is no ICE. */ |
| 5 |
|
| 6 |
int a[10]; |
| 7 |
int b(_Float128 e) { |
| 8 |
int c; |
| 9 |
_Float128 d; |
| 10 |
c = e; |
| 11 |
d = c; |
| 12 |
d = a[c] + d; |
| 13 |
return d; |
| 14 |
} |