diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr30762-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr30762-1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr30762-1.c b/gcc/testsuite/gcc.dg/pr30762-1.c index 97dca8c020e..74a566aa55c 100644 --- a/gcc/testsuite/gcc.dg/pr30762-1.c +++ b/gcc/testsuite/gcc.dg/pr30762-1.c @@ -1,6 +1,7 @@ /* PR c/30762 */ -/* { dg-do compile } */ -/* { dg-options "--combine -O3" } */ +/* { dg-do link } */ +/* { dg-require-effective-target lto } */ +/* { dg-options "-flto -r -nostdlib -O3" } */ /* { dg-additional-sources pr30762-2.c } */ typedef struct { int i; } D; |