testsuite: spellcheck-options-21.c requires LTO
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 25 Apr 2020 23:03:33 +0000 (19:03 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 25 Apr 2020 23:22:17 +0000 (19:22 -0400)
spellcheck-options-21.c requires LTO supported on the target.

        * gcc.dg/spellcheck-options-21.c: Require LTO.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/spellcheck-options-21.c

index 7de184b..9fa1faf 100644 (file)
@@ -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.
 
index 92fcb02..3238af6 100644 (file)
@@ -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 } */