public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/gccgo] testsuite: spellcheck-options-21.c requires LTO
@ 2020-07-12 17:33 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2020-07-12 17:33 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bffdd2e8951102f9fe62a6702c48a9fbe1b23b35
commit bffdd2e8951102f9fe62a6702c48a9fbe1b23b35
Author: David Edelsohn <dje.gcc@gmail.com>
Date: Sat Apr 25 19:03:33 2020 -0400
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.
Diff:
---
gcc/testsuite/ChangeLog | 4 ++++
gcc/testsuite/gcc.dg/spellcheck-options-21.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7de184bb8f0..9fa1faf3938 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/spellcheck-options-21.c b/gcc/testsuite/gcc.dg/spellcheck-options-21.c
index 92fcb020e12..3238af6b3bb 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 } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-12 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 17:33 [gcc/devel/gccgo] testsuite: spellcheck-options-21.c requires LTO Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).