aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/modref-2_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/lto/modref-2_0.c')
-rw-r--r--gcc/testsuite/gcc.dg/lto/modref-2_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/modref-2_0.c b/gcc/testsuite/gcc.dg/lto/modref-2_0.c
index cf84ed9..bba4c8d 100644
--- a/gcc/testsuite/gcc.dg/lto/modref-2_0.c
+++ b/gcc/testsuite/gcc.dg/lto/modref-2_0.c
@@ -1,5 +1,6 @@
/* { dg-lto-do run } */
/* { dg-lto-options {"-O2 -flto-partition=max -flto -fno-ipa-sra"} } */
+/* { dg-extra-ld-options { -lm } } */
__attribute__ ((noinline))
void
test (char *a)