]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: lto: fix pr62026 test
authorSam James <sam@gentoo.org>
Fri, 25 Oct 2024 19:55:39 +0000 (20:55 +0100)
committerSam James <sam@gentoo.org>
Fri, 25 Oct 2024 21:10:23 +0000 (22:10 +0100)
This failure was hidden until we started to run the test by fixing
the filename earlier: pass -Wno-return-type.

gcc/testsuite/ChangeLog:
PR lto/62026

* g++.dg/lto/pr62026_0.C: Pass -Wno-return-type.

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

index 0432e907f56f667058418f3d3ec57a02e26580ef..d6445ee9b4d806d321007121d024cd7f386889d0 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-lto-do link }
-// { dg-lto-options {{-flto -O3 -r}} }
+// { dg-lto-options {{-flto -O3 -r -Wno-return-type}} }
 class C;
 class F {
   virtual C m_fn1();