]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: move single-file LTO pr47333 test to torture
authorSam James <sam@gentoo.org>
Fri, 25 Oct 2024 21:59:13 +0000 (22:59 +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-4683-g04e0fbbc34e101 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 target/47333

* g++.dg/lto/pr47333_0.C: Move to...
* g++.dg/torture/pr47333.C: ...here.

gcc/testsuite/g++.dg/torture/pr47333.C [moved from gcc/testsuite/g++.dg/lto/pr47333_0.C with 99% similarity]

similarity index 99%
rename from gcc/testsuite/g++.dg/lto/pr47333_0.C
rename to gcc/testsuite/g++.dg/torture/pr47333.C
index 254a378f8dfda3ead43d18ad4ae542ad818d35d1..06610425ebba10f1add563492484b179531c1359 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-require-effective-target sync_int_long } */
-/* "WARNING: lto.exp does not support dg-additional-options" */
-#pragma GCC diagnostic ignored "-Wtemplate-body"
+// { dg-additional-options "-Wno-template-body" }
 
 namespace std
 {