From: Alexandre Oliva Date: Wed, 22 Jun 2022 02:10:58 +0000 (-0300) Subject: c++: testsuite: require lto_incremental in pr90990_0.C X-Git-Tag: basepoints/gcc-14~6012 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=614db2317e6519db9c77523498f5f14b860818d2;p=thirdparty%2Fgcc.git 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 --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;