public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1195] c++: testsuite: require lto_incremental in pr90990_0.C
@ 2022-06-22 2:11 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2022-06-22 2:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:614db2317e6519db9c77523498f5f14b860818d2
commit r13-1195-g614db2317e6519db9c77523498f5f14b860818d2
Author: Alexandre Oliva <oliva@adacore.com>
Date: Tue Jun 21 23:10:58 2022 -0300
c++: testsuite: require lto_incremental in pr90990_0.C
Other LTO tests that use -r require the lto_incremental effective
target. I suppose pr90990_0.C is missing it due to an oversight.
This patch arranges for this test to also be skipped on
non-lto_incremental targets.
for gcc/testsuite/ChangeLog
* g++.dg/lto/pr90990_0.C: Require lto_incremental target.
Diff:
---
gcc/testsuite/g++.dg/lto/pr90990_0.C | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/g++.dg/lto/pr90990_0.C b/gcc/testsuite/g++.dg/lto/pr90990_0.C
index 22a5e3ffaaa..74cc2bbd928 100644
--- a/gcc/testsuite/g++.dg/lto/pr90990_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr90990_0.C
@@ -1,5 +1,6 @@
// { dg-lto-do link }
/* { dg-extra-ld-options { -r -nostdlib } } */
+// { dg-require-effective-target lto_incremental }
class A {
public:
float m_floats;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-22 2:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 2:11 [gcc r13-1195] c++: testsuite: require lto_incremental in pr90990_0.C Alexandre Oliva
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).