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.
This commit is contained in:
David Edelsohn 2020-04-25 19:03:33 -04:00
parent f29be33707
commit bffdd2e895
2 changed files with 5 additions and 1 deletions

View 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.

View 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 } */