aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-04-25 19:03:33 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2020-04-25 19:22:17 -0400
commitbffdd2e8951102f9fe62a6702c48a9fbe1b23b35 (patch)
treee14fd6d5fc1c93ed66986e4c7e1eccfd76026eb2
parentf29be33707c0d4f7ccb73a1d074ad76faaf2d1b8 (diff)
downloadgcc-bffdd2e8951102f9fe62a6702c48a9fbe1b23b35.zip
gcc-bffdd2e8951102f9fe62a6702c48a9fbe1b23b35.tar.gz
gcc-bffdd2e8951102f9fe62a6702c48a9fbe1b23b35.tar.bz2
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.
-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 } */