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; > > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany; GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman; HRB 36809 (AG Nuernberg)