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. --- gcc/testsuite/g++.dg/{lto/pr95677_0.C => torture/pr95677.C} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename gcc/testsuite/g++.dg/{lto/pr95677_0.C => torture/pr95677.C} (71%) 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 d24279de025..d33f5c8c33a 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() { -- 2.47.0