diff mbox series

[COMMITTED,7/8] testsuite: lto: fix pr62026 test

Message ID d51d93803f42c20a4edb3c9488d6830cd314279f.1729890564.git.sam@gentoo.org
State New
Headers show
Series [COMMITTED,1/8] testsuite: lto: rename pr95677 test | expand

Commit Message

Sam James Oct. 25, 2024, 9:09 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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();