https://gcc.gnu.org/g:908b306909f10d7592a0ef611cc77b5720f07fa7

commit r15-4687-g908b306909f10d7592a0ef611cc77b5720f07fa7
Author: Sam James <s...@gentoo.org>
Date:   Fri Oct 25 20:55:39 2024 +0100

    testsuite: lto: fix pr62026 test
    
    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.

Diff:
---
 gcc/testsuite/g++.dg/lto/pr62026_0.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/lto/pr62026_0.C 
b/gcc/testsuite/g++.dg/lto/pr62026_0.C
index 0432e907f56f..d6445ee9b4d8 100644
--- a/gcc/testsuite/g++.dg/lto/pr62026_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr62026_0.C
@@ -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();

Reply via email to