1/* PR rtl-optimization/23098 */ 2/* { dg-do compile } */ 3/* { dg-options "-O2 -fPIC" } */ 4/* { dg-final { scan-assembler-not "\.LC\[0-9\]" { xfail *-*-vxworks* } } } */ 5/* { dg-require-effective-target ilp32 } */ 6/* { dg-require-effective-target fpic } */ 7 8double foo (float); 9 10double 11f1 (void) 12{ 13 return foo (1.0); 14} 15 16double 17f2 (void) 18{ 19 return foo (0.0); 20} 21 22void 23f3 (float *x, float t) 24{ 25 *x = 0.0 + t; 26} 27