Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr23098.c

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