]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: lto: fix pr95677 test
authorSam James <sam@gentoo.org>
Fri, 25 Oct 2024 17:02:06 +0000 (18:02 +0100)
committerSam James <sam@gentoo.org>
Fri, 25 Oct 2024 21:10:23 +0000 (22:10 +0100)
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-*.

gcc/testsuite/g++.dg/lto/pr95677_0.C

index 520ef04e61c897b592a791a67ab4c19aa4b0af22..d24279de02522e9bd82c02bf391f40145fef46d9 100644 (file)
@@ -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 } }