diff mbox series

[3/3] testsuite: move single-file LTO pr47333 test to torture

Message ID 07ef1f3a6c760333a1e2ba8f33aeeb9c50d7a2ac.1729893964.git.sam@gentoo.org
State New
Headers show
Series Move some single-file LTO tests to torture | expand

Commit Message

Sam James Oct. 25, 2024, 10:06 p.m. UTC
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/{lto/pr47333_0.C => torture/pr47333.C} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename gcc/testsuite/g++.dg/{lto/pr47333_0.C => torture/pr47333.C} (99%)
diff mbox series

Patch

diff --git a/gcc/testsuite/g++.dg/lto/pr47333_0.C b/gcc/testsuite/g++.dg/torture/pr47333.C
similarity index 99%
rename from gcc/testsuite/g++.dg/lto/pr47333_0.C
rename to gcc/testsuite/g++.dg/torture/pr47333.C
index b171c8cb960..361bd8eac21 100644
--- a/gcc/testsuite/g++.dg/lto/pr47333_0.C
+++ b/gcc/testsuite/g++.dg/torture/pr47333.C
@@ -1,5 +1,4 @@ 
-/* "WARNING: lto.exp does not support dg-additional-options" */
-#pragma GCC diagnostic ignored "-Wtemplate-body"
+// { dg-additional-options "-Wno-template-body" }
 
 namespace std
 {