From: Sam James Date: Fri, 25 Oct 2024 21:59:13 +0000 (+0100) Subject: testsuite: move single-file LTO pr47333 test to torture X-Git-Tag: basepoints/gcc-16~4733 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bedd308c25ac00466bc4921a99279659cff8df51;p=thirdparty%2Fgcc.git testsuite: move single-file LTO pr47333 test to torture 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. --- 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 254a378f8dfd..06610425ebba 100644 --- a/gcc/testsuite/g++.dg/lto/pr47333_0.C +++ b/gcc/testsuite/g++.dg/torture/pr47333.C @@ -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 {