https://gcc.gnu.org/g:778863eab72fdef226b8ac999b13a6ee71f397c0
commit r15-4819-g778863eab72fdef226b8ac999b13a6ee71f397c0 Author: Sam James <s...@gentoo.org> Date: Fri Oct 25 22:57:50 2024 +0100 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. Diff: --- gcc/testsuite/g++.dg/{lto/pr95677_0.C => torture/pr95677.C} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/testsuite/g++.dg/lto/pr95677_0.C b/gcc/testsuite/g++.dg/torture/pr95677.C similarity index 71% rename from gcc/testsuite/g++.dg/lto/pr95677_0.C rename to gcc/testsuite/g++.dg/torture/pr95677.C index d24279de0252..d33f5c8c33a2 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() {