aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/spellcheck-options-21.c2
2 files changed, 5 insertions, 1 deletions
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 <dje.gcc@gmail.com>
+ * gcc.dg/spellcheck-options-21.c: Require LTO.
+
+2020-04-25 David Edelsohn <dje.gcc@gmail.com>
+
* 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 } */