aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-25 22:57:50 +0100
committerSam James <sam@gentoo.org>2024-10-31 22:47:55 +0000
commit778863eab72fdef226b8ac999b13a6ee71f397c0 (patch)
tree20db0146fd925fea3e135cd0bb37af8ba0e3e32c
parentaa84020b2edbab18c98e4e1faa1dfec7bad9d179 (diff)
downloadgcc-778863eab72fdef226b8ac999b13a6ee71f397c0.zip
gcc-778863eab72fdef226b8ac999b13a6ee71f397c0.tar.gz
gcc-778863eab72fdef226b8ac999b13a6ee71f397c0.tar.bz2
testsuite: move single-file LTO pr95677 test to torture
This only started being used recently in r15-4681-g96110c14cf61a1 and pinskia pointed out we may as well make it a proper torture test instead as it's a single file LTO test. gcc/testsuite/ChangeLog: PR c++/95677 * g++.dg/lto/pr95677_0.C: Move to... * g++.dg/torture/pr95677.C: ...here.
-rw-r--r--gcc/testsuite/g++.dg/torture/pr95677.C (renamed from gcc/testsuite/g++.dg/lto/pr95677_0.C)6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/testsuite/g++.dg/lto/pr95677_0.C b/gcc/testsuite/g++.dg/torture/pr95677.C
index d24279d..d33f5c8 100644
--- a/gcc/testsuite/g++.dg/lto/pr95677_0.C
+++ b/gcc/testsuite/g++.dg/torture/pr95677.C
@@ -1,9 +1,5 @@
// PR c++/95677
-
-// { dg-lto-do link }
-// { dg-lto-options { -flto } }
-
-
+// { dg-do link }
namespace {
void foo() {