]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: move single-file LTO pr95677 test to torture
authorSam James <sam@gentoo.org>
Fri, 25 Oct 2024 21:57:50 +0000 (22:57 +0100)
committerSam James <sam@gentoo.org>
Thu, 31 Oct 2024 22:47:55 +0000 (22:47 +0000)
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/torture/pr95677.C [moved from gcc/testsuite/g++.dg/lto/pr95677_0.C with 71% similarity]

similarity index 71%
rename from gcc/testsuite/g++.dg/lto/pr95677_0.C
rename to gcc/testsuite/g++.dg/torture/pr95677.C
index d24279de02522e9bd82c02bf391f40145fef46d9..d33f5c8c33a243b9ff25d80c278798fe13d35ef0 100644 (file)
@@ -1,9 +1,5 @@
 // PR c++/95677
-
-// { dg-lto-do link }
-// { dg-lto-options { -flto } }
-
-
+// { dg-do link }
 
 namespace {
   void foo() {