aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-25 18:02:06 +0100
committerSam James <sam@gentoo.org>2024-10-25 22:10:23 +0100
commite87c1af38d551cb7f81e10f57bf245a2b8f039be (patch)
treecded629416372a2c6cf18c0a4ed3e51447979516
parent091e45b4e97d1ecf765bf3afb58cecda23fee23c (diff)
downloadgcc-e87c1af38d551cb7f81e10f57bf245a2b8f039be.zip
gcc-e87c1af38d551cb7f81e10f57bf245a2b8f039be.tar.gz
gcc-e87c1af38d551cb7f81e10f57bf245a2b8f039be.tar.bz2
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-*.
-rw-r--r--gcc/testsuite/g++.dg/lto/pr95677_0.C5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/lto/pr95677_0.C b/gcc/testsuite/g++.dg/lto/pr95677_0.C
index 520ef04..d24279d 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 } }