diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr31529-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr31529-1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr31529-1.c b/gcc/testsuite/gcc.dg/pr31529-1.c index 20703ed2538..31339e1ef83 100644 --- a/gcc/testsuite/gcc.dg/pr31529-1.c +++ b/gcc/testsuite/gcc.dg/pr31529-1.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ -/* { dg-options "-combine" } */ +/* { dg-do link } */ +/* { dg-require-effective-target lto } */ +/* { dg-options "-flto -r -nostdlib" } */ /* { dg-additional-sources "pr31529-2.c" } */ getline () |