Message ID | orletqd0e5.fsf@lxoliva.fsfla.org |
---|---|
State | New |
Headers | show |
Series | c++: testsuite: require lto_incremental in pr90990_0.C | expand |
On Tue, 21 Jun 2022, Alexandre Oliva wrote: > > 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. > > Regstrapped on x86_64-linux-gnu, also tested with a cross to > aarch64-rtems6. Ok to install? OK. > > for gcc/testsuite/ChangeLog > > * g++.dg/lto/pr90990_0.C: Require lto_incremental target. > --- > 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 22a5e3ffaaa45..74cc2bbd92889 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; > >
diff --git a/gcc/testsuite/g++.dg/lto/pr90990_0.C b/gcc/testsuite/g++.dg/lto/pr90990_0.C index 22a5e3ffaaa45..74cc2bbd92889 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;