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" } */ 6 7 static const __float128 cf = 0.1E+30Q; 8 9 typedef __float128 (*func)(__float128 x); 10 11 __float128 test(__float128 x,int p,func f)12test (__float128 x, int p, func f) 13 { 14 x = f (x); 15 if (p) 16 x = f (cf); 17 return x; 18 } 19 20 /* { dg-final { scan-assembler "get_pc_thunk" { xfail { *-*-solaris2.10* && { ! gld } } } } } */ 21