From: Sam James Date: Fri, 25 Oct 2024 17:02:06 +0000 (+0100) Subject: testsuite: lto: fix pr95677 test X-Git-Tag: basepoints/gcc-16~4867 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e87c1af38d551cb7f81e10f57bf245a2b8f039be;p=thirdparty%2Fgcc.git testsuite: lto: fix pr95677 test These failures were hidden until we started to run the test by fixing the filename earlier: use dg-lto directives. gcc/testsuite/ChangeLog: PR c++/95677 * g++.dg/lto/pr95677_0.C: Use dg-lto-*. --- diff --git a/gcc/testsuite/g++.dg/lto/pr95677_0.C b/gcc/testsuite/g++.dg/lto/pr95677_0.C index 520ef04e61c8..d24279de0252 100644 --- a/gcc/testsuite/g++.dg/lto/pr95677_0.C +++ b/gcc/testsuite/g++.dg/lto/pr95677_0.C @@ -1,8 +1,7 @@ // PR c++/95677 -// { dg-do link } -// { dg-require-effective-target lto } -// { dg-options "-flto" } +// { dg-lto-do link } +// { dg-lto-options { -flto } }