summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/compress-float-387-pic.c
blob: fa69eedaa71bcf1935a005847a114caa620ef265 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387 -fpic" } */
double foo (double x) {
  return x + 1.75;
}
/* { dg-final { scan-assembler "flds" } } */