From bffdd2e8951102f9fe62a6702c48a9fbe1b23b35 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 25 Apr 2020 19:03:33 -0400 Subject: testsuite: spellcheck-options-21.c requires LTO spellcheck-options-21.c requires LTO supported on the target. * gcc.dg/spellcheck-options-21.c: Require LTO. --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/spellcheck-options-21.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7de184b..9fa1faf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2020-04-25 David Edelsohn + * gcc.dg/spellcheck-options-21.c: Require LTO. + +2020-04-25 David Edelsohn + * gcc.dg/debug/dwarf2/pr82718-1.c: Skip on AIX. * gcc.dg/debug/dwarf2/pr82718-2.c: Skip on AIX. diff --git a/gcc/testsuite/gcc.dg/spellcheck-options-21.c b/gcc/testsuite/gcc.dg/spellcheck-options-21.c index 92fcb02..3238af6 100644 --- a/gcc/testsuite/gcc.dg/spellcheck-options-21.c +++ b/gcc/testsuite/gcc.dg/spellcheck-options-21.c @@ -1,4 +1,4 @@ /* { dg-do compile } */ -/* { dg-skip-if "-flto not supported" { { hppa*-*-hpux* } && { ! lp64 } } } */ +/* { dg-require-effective-target lto } */ /* { dg-options "-flto=sparta" } */ /* { dg-error "unrecognized argument to '-flto=' option: 'sparta'" "" { target *-*-* } 0 } */ -- cgit v1.1