[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr112995.c
blob4adcb5f385149e93c37c101af01985565058d9e3
1 /* { dg-require-effective-target float128 } */
2 /* { dg-options "-O2 -mdejagnu-cpu=power9 -fselective-scheduling2" } */
4 /* Verify there is no ICE. */
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;