Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / pr23098.c
blobd91bf2a5f64121e7c79c89dff465931b11857bdf
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 } */
8 double foo (float);
10 double
11 f1 (void)
13 return foo (1.0);
16 double
17 f2 (void)
19 return foo (0.0);
22 void
23 f3 (float *x, float t)
25 *x = 0.0 + t;