diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-06-21 23:10:58 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-06-21 23:10:58 -0300 |
commit | 614db2317e6519db9c77523498f5f14b860818d2 (patch) | |
tree | 607a1741805bffc4472d97bb9fdd8fecb0398f1b /gcc | |
parent | 5e377d21f1f345d8b157b9bc306e02bb9bd45e01 (diff) | |
download | gcc-614db2317e6519db9c77523498f5f14b860818d2.zip gcc-614db2317e6519db9c77523498f5f14b860818d2.tar.gz gcc-614db2317e6519db9c77523498f5f14b860818d2.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/lto/pr90990_0.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/lto/pr90990_0.C b/gcc/testsuite/g++.dg/lto/pr90990_0.C index 22a5e3f..74cc2bb 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; |