diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/powerpc/compress-float-ppc-pic.c')
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/compress-float-ppc-pic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/compress-float-ppc-pic.c b/gcc/testsuite/gcc.target/powerpc/compress-float-ppc-pic.c new file mode 100644 index 00000000000..2f67d6962f9 --- /dev/null +++ b/gcc/testsuite/gcc.target/powerpc/compress-float-ppc-pic.c @@ -0,0 +1,6 @@ +/* { dg-do compile { target powerpc*-*-* } } */ +/* { dg-options "-O2 -fpic" } */ +double foo (double x) { + return x + 1.75; +} +/* { dg-final { scan-assembler "lfs" } } */ |