PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr63620.c
blob36f6b63f1e8ed7763b4754651b168165ee307806
1 /* PR target/63620 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target fpic } */
4 /* { dg-require-effective-target ia32 } */
5 /* { dg-options "-O2 -fpic -mfpmath=sse -msse" } */
7 static const __float128 cf = 0.1E+30Q;
9 typedef __float128 (*func)(__float128 x);
11 __float128
12 test (__float128 x, int p, func f)
14 x = f (x);
15 if (p)
16 x = f (cf);
17 return x;
20 /* { dg-final { scan-assembler "get_pc_thunk" { xfail { *-*-solaris2.10* && { ! gld } } } } } */