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 7de184bb8f00c14324e3e710dafccfda86fd0c8e..9fa1faf39383b190a215bdcef2d1f158ff326dee 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 92fcb020e12f1b27bf23243be6faeb09fe74fb2c..3238af6b3bb85dc07ab5c079c5cf35de049bf5b8 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 } */